Skip to content

Commit 94803f3

Browse files
committed
ci: job for bluerock.io
1 parent cd6da75 commit 94803f3

File tree

1 file changed

+74
-2
lines changed

1 file changed

+74
-2
lines changed

.github/workflows/users.yml

+74-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,75 @@ 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+
- name: git setup
55+
run: |
56+
git config --global user.email "[email protected]"
57+
git config --global user.name "Your Name"
58+
git switch -c branch
59+
60+
- name: opam setup
61+
run: |
62+
sudo apt-get install swi-prolog libclang-dev
63+
curl -fsSL https://opam.ocaml.org/install.sh > install-opam.sh
64+
chmod a+x install-opam.sh
65+
yes '' | ./install-opam.sh
66+
opam init --bare --disable-sandboxing
67+
68+
- name: fm workspace setup
69+
run: |
70+
git clone https://github.com/bluerock-io/fm-workspace.git
71+
cd fm-workspace
72+
export OPAMYES=true
73+
./setup-fmdeps.sh -p
74+
opam switch set `opam switch list 2>&1| grep br|sed 's/ */ /g'| cut -d ' ' -f 2`
75+
opam switch
76+
77+
- name: merge elpi
78+
run: |
79+
E="$PWD"
80+
cd fm-workspace/fmdeps/elpi
81+
git remote add this file://$E/
82+
git remote update this
83+
git merge this/branch -Xtheirs -m ci
84+
git show HEAD
85+
86+
- name: overlay coq-elpi
87+
run: |
88+
cd fm-workspace/fmdeps/coq-elpi
89+
git remote add this https://github.com/LPCIC/coq-elpi.git
90+
git remote update this
91+
git merge this/fix-elpi-3.0 -Xtheirs -m ci
92+
git show HEAD
93+
94+
- name: overlay brick
95+
run: |
96+
cd fm-workspace/fmdeps/cpp2v-core
97+
git remote add this https://github.com/gares/brick.git
98+
git remote update this
99+
git merge this/elpi-3.0 -Xtheirs -m ci
100+
git show HEAD
101+
102+
- name: build bluerock-prelude/theories/elpi
103+
run: |
104+
cd fm-workspace
105+
eval $(opam env)
106+
opam switch
107+
which ocamlc
108+
dune build fmdeps/cpp2v-core/rocq-bluerock-prelude/theories/elpi/ --stop-on-first-error
109+
110+
111+
112+
113+

0 commit comments

Comments
 (0)