Skip to content

Commit

Permalink
Merge pull request #30 from flavorjones/flavorjones-ci-arm64-darwin
Browse files Browse the repository at this point in the history
ci: add arm64-darwin precompiled coverage
  • Loading branch information
flavorjones authored Apr 25, 2024
2 parents a710463 + db36156 commit 21673d8
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/precompiled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
- "aarch64-linux-musl"
- "arm-linux-gnu"
- "arm-linux-musl"
- "arm64-darwin" # github actions does not support this runtime, but let's build anyway
- "arm64-darwin"
- "x64-mingw-ucrt"
- "x64-mingw32"
- "x86-linux-gnu"
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3"]
runs-on: macos-latest
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand All @@ -198,9 +198,24 @@ jobs:
- run: ./bin/test-gem-install gems
working-directory: precompiled

## arm64-darwin installation testing is omitted until github actions supports it
# cruby-arm64-darwin-install:
# ...
cruby-arm64-darwin-install:
needs: ["cruby-native-package"]
strategy:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3"]
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
- uses: actions/download-artifact@v4
with:
name: cruby-arm64-darwin-gem
path: precompiled/gems
- run: ./bin/test-gem-install gems
working-directory: precompiled

cruby-x64-mingw32-install:
needs: ["cruby-native-package"]
Expand Down

0 comments on commit 21673d8

Please sign in to comment.