Skip to content

Commit

Permalink
Experiment new macOs runners
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas committed Jan 4, 2024
1 parent 906a622 commit 553abf0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Build
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
os: ["ubuntu-latest", "macos-latest-xlarge"]
fail-fast: true
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -31,6 +31,8 @@ jobs:
java-version: "21"
components: "native-image"
cache: "sbt"
- if: ${{ matrix.os == 'macos-latest-xlarge' }}
run: curl -fL https://github.com/VirtusLab/coursier-m1/releases/latest/download/cs-aarch64-apple-darwin.gz | gzip -d > cs && chmod +x cs && (xattr -d com.apple.quarantine cs || true) && ./cs setup -y
- run: sbt test graalvm-native-image:packageBin
- uses: actions/upload-artifact@v4
with:
Expand All @@ -40,7 +42,7 @@ jobs:
name: Release
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
os: ["ubuntu-latest", "macos-latest-xlarge"]
fail-fast: true
runs-on: ${{ matrix.os }}
needs: [build, checks]
Expand Down

0 comments on commit 553abf0

Please sign in to comment.