Skip to content

Commit b850c53

Browse files
authored
Merge branch 'main' into fix-for-guardchecker-fix-main
2 parents e144ecb + e058441 commit b850c53

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: MetaCoq CI
1+
name: MetaRocq CI
22

33
on:
44
push:
@@ -46,25 +46,22 @@ jobs:
4646
with:
4747
coq_version: ${{ matrix.coq_version }}
4848
ocaml_version: ${{ matrix.ocaml_version }}
49-
before_script: |
50-
startGroup "Workaround permission issue"
51-
sudo chown -R coq:coq . # <--
52-
opam exec -- ocamlfind list
53-
endGroup
5449
before_install: |
5550
startGroup "Print opam config"
56-
sudo chown -R coq:coq .
5751
opam config list; opam repo list; opam list
5852
endGroup
53+
startGroup "Workaround permission issue"
54+
sudo chown -R 1000:1000 .
55+
endGroup
5956
script: |
6057
startGroup "Build project"
6158
opam exec -- ./configure.sh --enable-${{matrix.target}}
6259
opam exec -- make -j 2 ci-${{matrix.target}}
6360
endGroup
61+
# Already done by the ci-opam target
6462
uninstall: |
6563
startGroup "Clean project"
6664
endGroup
67-
6865
- name: Revert permissions
6966
# to avoid a warning at cleanup time
7067
if: ${{ always() }}

0 commit comments

Comments
 (0)