-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ffigen] Run ffigen CI less often on Apple silicon (#847)
* Run ffigen CI less often on Apple silicon * Daco's comments
- Loading branch information
1 parent
a0949f5
commit adbe779
Showing
2 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Run the ffigen tests on apple silicon once a week. Unlike the other GitHub | ||
# CI hosts, this one isn't free, so we don't run it on every commit. | ||
|
||
name: ffigen_weekly | ||
|
||
on: | ||
# Run once a week. | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
|
||
env: | ||
PUB_ENVIRONMENT: bot.github | ||
|
||
jobs: | ||
# Keep in sync with ffigen.yaml:test-mac | ||
test-mac-arm64: | ||
runs-on: 'macos-latest-xlarge' # Arm64. | ||
defaults: | ||
run: | ||
working-directory: pkgs/ffigen/ | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d | ||
with: | ||
sdk: 3.2.0 | ||
- name: Install dependencies | ||
run: dart pub get | ||
- name: Build test dylib and bindings | ||
run: dart test/setup.dart | ||
- name: Run VM tests | ||
run: dart test --platform vm --concurrency=1 |