Skip to content

Commit 08cbf80

Browse files
committed
ci: job for bluerock.io
1 parent cd6da75 commit 08cbf80

File tree

1 file changed

+55
-2
lines changed

1 file changed

+55
-2
lines changed

.github/workflows/users.yml

+55-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,56 @@ 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+
71+
- run: |
72+
E="$PWD"
73+
cd fm-workspace/fmdeps/elpi
74+
git remote add this file://$E/
75+
git remote update this
76+
git merge this/branch
77+
78+
- run: |
79+
cd fm-workspace/fmdeps/coq-elpi
80+
git remote add this https://github.com/LPCIC/coq-elpi.git
81+
git remote update this
82+
git merge this/fix-elpi-3.0 || (git checkout origin/br-master builtin-doc/coq-builtin.elpi && git add builtin-doc/coq-builtin.elpi && git add . && git merge --continue -m 'ci')
83+
git show HEAD
84+
85+
86+
- run: |
87+
cd fm-workspace
88+
eval $(opam env)
89+
dune build fmdeps/cpp2v-core/rocq-bluerock-prelude/theories/elpi/
90+
91+
92+
93+
94+

0 commit comments

Comments
 (0)