Skip to content

Commit a9bbad6

Browse files
authored
Simplify build command (#566)
1 parent 17f762d commit a9bbad6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,12 @@ jobs:
1616
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-additional-values-into-combinations
1717
include:
1818
- os: macos-latest
19-
build: eval $(opam env) && cd analysis && make test
2019
artifact-folder: darwin
2120
- os: macos-arm
22-
build: eval $(opam env) && cd analysis && make test
2321
artifact-folder: darwinarm64
2422
- os: ubuntu-18.04
25-
build: eval $(opam env) && cd analysis && make test
2623
artifact-folder: linux
2724
- os: windows-latest
28-
build: "cd analysis && & $env:CYGWIN_ROOT\\bin\\ocaml-env exec -- make test"
2925
artifact-folder: win32
3026

3127
runs-on: ${{matrix.os}}
@@ -65,7 +61,8 @@ jobs:
6561
# - run: opam install . --deps-only --with-doc --with-test
6662

6763
- name: Build and test
68-
run: ${{matrix.build}}
64+
run: opam exec -- make test
65+
working-directory: analysis
6966

7067
# Also avoids artifacts upload permission loss:
7168
# https://github.com/actions/upload-artifact/tree/ee69f02b3dfdecd58bb31b4d133da38ba6fe3700#permission-loss

0 commit comments

Comments
 (0)