Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ffigen][infra] Use Apple silicon on CI #832

Merged
merged 1 commit into from
Nov 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/ffigen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ jobs:

test-mac:
needs: analyze
runs-on: macos-latest
strategy:
matrix:
host:
- 'macos-latest'
- 'macos-latest-xlarge' # Arm64.
runs-on: ${{ matrix.host }}
defaults:
run:
working-directory: pkgs/ffigen/
Expand All @@ -85,19 +90,22 @@ jobs:
run: dart test --platform vm --concurrency=1
- name: Collect coverage
run: ./tool/coverage.sh
if: ${{ matrix.host == 'macos-latest' }}
- name: Upload coverage
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
with:
flag-name: ffigen_macos
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
path-to-lcov: pkgs/ffigen/lcov.info
if: ${{ matrix.host == 'macos-latest' }}
- name: Upload coverage
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
with:
carryforward: "jnigen_tests,jni_tests,native_assets_builder_macos,native_assets_builder_ubuntu,native_assets_builder_windows,native_assets_cli_macos,native_assets_cli_ubuntu,native_assets_cli_windows,native_toolchain_c_macos,native_toolchain_c_ubuntu,native_toolchain_c_windows"
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
if: ${{ matrix.host == 'macos-latest' }}

test-windows:
needs: analyze
Expand Down
Loading