ffigen_weekly #38
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
# 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-14-large' # x64 | |
defaults: | |
run: | |
working-directory: pkgs/ffigen/ | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1 | |
with: | |
flutter-version: 3.19.0 | |
channel: 'stable' | |
- name: Install dependencies | |
run: flutter pub get | |
- name: Build test dylib and bindings | |
run: dart test/setup.dart | |
- name: Run VM tests | |
run: dart test |