Skip to content

Commit

Permalink
[ci] opam 2.2.0, ocaml 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Aug 1, 2024
1 parent 8b18a2f commit 6d2f518
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Setup ocaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 4.08.1
ocaml-compiler: 5.0.0
opam-repositories: |
opam-repository-mingw: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset
default: https://github.com/ocaml/opam-repository.git
Expand Down Expand Up @@ -128,7 +128,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ocaml: ["4.08.1", "5.0.0"]
# ocaml: ["4.08.1", "5.0.0"]
ocaml: ["5.0.0"]
steps:
- uses: actions/checkout@main
with:
Expand Down Expand Up @@ -203,7 +204,7 @@ jobs:
run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT

- name: Build xmldoc
if: matrix.ocaml == '4.08.1'
# if: matrix.ocaml == '4.08.1'
run: |
set -ex
make -s xmldoc
Expand All @@ -217,12 +218,13 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: linuxBinaries${{ (matrix.ocaml == '5.0.0' && '_ocaml5') || '' }}
name: linuxBinaries
# name: linuxBinaries${{ (matrix.ocaml == '5.0.0' && '_ocaml5') || '' }}
path: out

- name: Upload xmldoc artifact
uses: actions/upload-artifact@v4
if: matrix.ocaml == '4.08.1'
# if: matrix.ocaml == '4.08.1'
with:
name: xmldoc
path: extra/doc
Expand All @@ -238,7 +240,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ocaml: ["4.08.1", "5.0.0"]
ocaml: ["5.0.0"]
# ocaml: ["4.08.1", "5.0.0"]
target: [macro, js, hl, cpp, jvm, php, python, lua, flash, neko]
include:
- target: hl
Expand All @@ -255,7 +258,8 @@ jobs:
submodules: recursive
- uses: actions/download-artifact@v4
with:
name: linuxBinaries${{ (matrix.ocaml == '5.0.0' && '_ocaml5') || '' }}
name: linuxBinaries
# name: linuxBinaries${{ (matrix.ocaml == '5.0.0' && '_ocaml5') || '' }}
path: linuxBinaries

- name: Install Neko from S3
Expand Down
2 changes: 1 addition & 1 deletion haxe.opam
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
opam-version: "2.0"
opam-version: "2.2"
name: "haxe"
version: "4.3.0"
synopsis: "Multi-target universal programming language"
Expand Down

0 comments on commit 6d2f518

Please sign in to comment.