Skip to content

Commit

Permalink
Remove pre-done part from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ailrun committed Jun 7, 2024
1 parent c85efce commit 2e45d2f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
env:
OCAML_VER: "4.14.1-flambda"
COQ_VER: "8.17.1"
REGISTRY: ghcr.io

jobs:
wf:
Expand All @@ -25,6 +26,11 @@ jobs:
build:
name: Continuous Intergration
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
Expand All @@ -33,20 +39,14 @@ jobs:
- name: repo checkout
uses: actions/checkout@v3

- name: registry login
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin

- name: coq processing
uses: coq-community/docker-coq-action@v1
with:
custom_image: ghcr.io/beluga-lang/mcltt:main
custom_image: ${{ env.REGISTRY }}/beluga-lang/mcltt:main
install: |
startGroup "Install Dependencies"
opam repo add coq-released https://coq.inria.fr/opam/released
opam update
opam install menhir
opam install coq-equations
opam install coq-menhirlib
opam install ppx_inline_test
eval $(opam env)
endGroup
before_script: |
startGroup "Fix the permission issue"
sudo chown -R coq:coq .
Expand Down

0 comments on commit 2e45d2f

Please sign in to comment.