Skip to content

Commit

Permalink
Merge pull request #924 from ocaml/update-latest-runners
Browse files Browse the repository at this point in the history
Add support for latest runners
  • Loading branch information
smorimoto authored Jan 16, 2025
2 parents aef2b58 + e8e5067 commit bd3f915
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,19 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
- ubuntu-24.04
- ubuntu-24.04-arm
- macos-15
- windows-2025
ocaml-compiler:
- "5.3"
allow-prerelease-opam:
- false
include:
- os: ubuntu-latest
- os: ubuntu-24.04
ocaml-compiler: ocaml-variants.5.3.0+options,ocaml-option-flambda
allow-prerelease-opam: false
- os: ubuntu-latest
- os: ubuntu-24.04
ocaml-compiler: "5.3"
allow-prerelease-opam: true

Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/setup-ocaml/src/unix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export async function installUnixSystemPackages() {
const isGitHubRunner = process.env.GITHUB_ACTIONS === "true";
const optionalDependencies = await retrieveInstallableOptionalDependencies([
"darcs",
"g++-multilib",
"gcc-multilib",
"mercurial",
]);
if (isGitHubRunner) {
Expand All @@ -45,8 +47,6 @@ export async function installUnixSystemPackages() {
"--yes",
"install",
"bubblewrap",
"g++-multilib",
"gcc-multilib",
"musl-tools",
"rsync",
...optionalDependencies,
Expand Down

0 comments on commit bd3f915

Please sign in to comment.