Skip to content

Commit

Permalink
ci: Upgrade workflow versions
Browse files Browse the repository at this point in the history
  • Loading branch information
liyishuai committed Jul 15, 2024
1 parent 34d6b58 commit 618b587
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
25 changes: 22 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- macos-latest
- ubuntu-latest
- windows-latest
ocaml-version:
ocaml-version:
- 4.02.x
- 4.03.x
- 4.04.x
Expand All @@ -34,6 +34,25 @@ jobs:
- 5.0.x
- 5.1.x
- 5.2.x
exclude:
- os: macos-latest
ocaml-version: 4.02.x
- os: macos-latest
ocaml-version: 4.03.x
- os: macos-latest
ocaml-version: 4.04.x
- os: macos-latest
ocaml-version: 4.05.x
- os: macos-latest
ocaml-version: 4.06.x
- os: macos-latest
ocaml-version: 4.07.x
- os: macos-latest
ocaml-version: 4.08.x
- os: macos-latest
ocaml-version: 4.09.x
- os: macos-latest
ocaml-version: 4.11.x

runs-on: ${{ matrix.os }}

Expand All @@ -57,7 +76,7 @@ jobs:
git config --global init.defaultBranch master
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
Expand All @@ -74,7 +93,7 @@ jobs:
run: opam exec -- make

- name: Upload the build artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ matrix.ocaml-version }}-cppo.exe
path: _build/default/src/cppo_main.exe
Expand Down

0 comments on commit 618b587

Please sign in to comment.