Skip to content

Commit f120c59

Browse files
[asl] Test new build instructions
Co-authored-by: Hadrien Renaud <Hadrien.Renaud2@arm.com>
1 parent 8c69188 commit f120c59

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/make-test-all.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,37 @@ jobs:
6161
opam pin asllib
6262
opam install .
6363
64+
aslref:
65+
name: Install ASLRef on OCaml v5
66+
67+
runs-on: ubuntu-latest
68+
69+
env:
70+
DUNE_CACHE: 'enabled-except-user-rules'
71+
INSTALL_DIR: ${{ runner.tmp }}/prefix
72+
73+
steps:
74+
- name: Checkout tree
75+
uses: actions/checkout@v4
76+
77+
- name: Set-up OCaml 5
78+
uses: ocaml/setup-ocaml@v3
79+
with:
80+
ocaml-compiler: 5
81+
dune-cache: true
82+
83+
- name: Install dependencies
84+
run: |
85+
opam exec -- dune build asllib/aslref.opam
86+
opam install ./asllib --deps-only --yes
87+
88+
- name: Create installation directory
89+
run: mkdir $INSTALL_DIR
90+
91+
- name: Build and install ASLRef
92+
run: |
93+
opam exec -- make build-aslref PREFIX=$INSTALL_DIR
94+
opam exec -- make install-aslref PREFIX=$INSTALL_DIR
95+
96+
- name: Check ASLRef installed
97+
run: $INSTALL_DIR/aslref --version

0 commit comments

Comments
 (0)