Skip to content

Commit ed14f3a

Browse files
authored
switches workflows to ocaml/setup-ocaml.v2 (#1311)
The new version might give us much better performance, see the [discussion][1] for further details. [1]: https://discuss.ocaml.org/t/ann-set-up-ocaml-2-0-0-alpha/7895
1 parent 32846d5 commit ed14f3a

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
uses: actions/checkout@v2
1818

1919
- name: Install OCaml
20-
uses: avsm/setup-ocaml@v1
20+
uses: ocaml/setup-ocaml@v2
2121
with:
22-
ocaml-version: 4.08.1
22+
ocaml-compiler: 4.08.1
2323

2424
- name: Add the testing Repository
2525
run: opam repo add bap git://github.com/BinaryAnalysisPlatform/opam-repository#testing

.github/workflows/build-dev-repo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
uses: actions/checkout@v2
2929

3030
- name: Use OCaml ${{ matrix.ocaml-version }}
31-
uses: avsm/setup-ocaml@v1
31+
uses: ocaml/setup-ocaml@v2
3232
with:
33-
ocaml-version: ${{ matrix.ocaml-version }}
33+
ocaml-compiler: ${{ matrix.ocaml-version }}
3434

3535
- name: Add the testing Repository
3636
run: opam repo add bap git://github.com/BinaryAnalysisPlatform/opam-repository#testing

.github/workflows/build-from-opam.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818

1919
steps:
2020
- name: Use OCaml ${{ matrix.ocaml-version }}
21-
uses: avsm/setup-ocaml@v1
21+
uses: ocaml/setup-ocaml@v2
2222
with:
23-
ocaml-version: ${{ matrix.ocaml-version }}
23+
ocaml-compiler: ${{ matrix.ocaml-version }}
2424

2525
- name: Add the testing Repository
2626
run: opam repo add bap git://github.com/BinaryAnalysisPlatform/opam-repository#testing

.github/workflows/check-the-style.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
uses: actions/checkout@v2
1717

1818
- name: Setup OCaml
19-
uses: avsm/setup-ocaml@v1
19+
uses: ocaml/setup-ocaml@v2
2020
with:
21-
ocaml-version: 4.08.1
21+
ocaml-compile: 4.08.1
2222

2323
- name: Check the Style
2424
run: opam install -y ocp-indent && opam exec -- make check-style

.github/workflows/nightly-testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222

2323
steps:
2424
- name: Use OCaml ${{ matrix.ocaml-version }}
25-
uses: avsm/setup-ocaml@v1
25+
uses: ocaml/setup-ocaml@v2
2626
with:
27-
ocaml-version: ${{ matrix.ocaml-version }}
27+
ocaml-compiler: ${{ matrix.ocaml-version }}
2828

2929
- name: Configure Homebrew
3030
if: matrix.os == 'macos-latest'

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
uses: actions/checkout@v2
2020

2121
- name: Install OCaml
22-
uses: avsm/setup-ocaml@v1
22+
uses: ocaml/setup-ocaml@v2
2323
with:
24-
ocaml-version: 4.11.1+flambda
24+
ocaml-compiler: 4.11.1+flambda
2525

2626
- name: Add the testing Repository
2727
run: opam repo add bap git://github.com/BinaryAnalysisPlatform/opam-repository#testing

.github/workflows/weekly-regress.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
steps:
2323

2424
- name: Use OCaml ${{ matrix.ocaml-version }}
25-
uses: avsm/setup-ocaml@v1
25+
uses: ocaml/setup-ocaml@v2
2626
with:
27-
ocaml-version: ${{ matrix.ocaml-version }}
27+
ocaml-compiler: ${{ matrix.ocaml-version }}
2828

2929
- name: Install System Dependencies
3030
run: opam depext -y bap

0 commit comments

Comments
 (0)