Skip to content

Commit 70a66e9

Browse files
committed
ci: job for bluerock.io
1 parent cd6da75 commit 70a66e9

File tree

1 file changed

+59
-2
lines changed

1 file changed

+59
-2
lines changed

.github/workflows/users.yml

+59-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
branches: [ master ]
99

1010
jobs:
11-
test-users:
12-
name: "test users"
11+
test-users-mc:
12+
name: "test users: math-comp"
1313
runs-on: ubuntu-latest
1414
env:
1515
OPAMWITHTEST: true
@@ -39,3 +39,60 @@ jobs:
3939
- run: opam pin --ignore-constraints-on elpi add rocq-mathcomp-algebra https://github.com/math-comp/math-comp.git#master
4040
- run: opam pin --ignore-constraints-on elpi add rocq-mathcomp-solvable https://github.com/math-comp/math-comp.git#master
4141
- run: opam pin --ignore-constraints-on elpi add rocq-mathcomp-field https://github.com/math-comp/math-comp.git#master
42+
43+
test-users-br:
44+
name: "test users: bluerock.io"
45+
runs-on: ubuntu-latest
46+
env:
47+
OPAMWITHTEST: true
48+
OPAMVERBOSE: true
49+
steps:
50+
- uses: actions/checkout@v4
51+
with:
52+
fetch-depth: 0
53+
54+
- run: |
55+
git config --global user.email "[email protected]"
56+
git config --global user.name "Your Name"
57+
git switch -c branch
58+
59+
- run: |
60+
sudo apt-get install swi-prolog libclang-dev
61+
curl -fsSL https://opam.ocaml.org/install.sh > install-opam.sh
62+
chmod a+x install-opam.sh
63+
yes '' | ./install-opam.sh
64+
opam init --bare --disable-sandboxing
65+
66+
- run: |
67+
git clone https://github.com/bluerock-io/fm-workspace.git
68+
cd fm-workspace
69+
./setup-fmdeps.sh -p
70+
opam switch set `opam switch list 2>&1| grep br|sed 's/ */ /g'| cut -d ' ' -f 2`
71+
opam switch
72+
73+
- run: |
74+
E="$PWD"
75+
cd fm-workspace/fmdeps/elpi
76+
git remote add this file://$E/
77+
git remote update this
78+
git merge this/branch
79+
80+
- run: |
81+
cd fm-workspace/fmdeps/coq-elpi
82+
git remote add this https://github.com/LPCIC/coq-elpi.git
83+
git remote update this
84+
git merge this/fix-elpi-3.0 -Xtheirs -m ci
85+
git show HEAD
86+
87+
88+
- run: |
89+
cd fm-workspace
90+
eval $(opam env)
91+
opam switch
92+
which ocamlc
93+
dune build fmdeps/cpp2v-core/rocq-bluerock-prelude/theories/elpi/
94+
95+
96+
97+
98+

0 commit comments

Comments
 (0)