Verify binaries using hashes #389
Workflow file for this run
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
name: package:intl4x | |
permissions: read-all | |
on: | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/intl4x.yml' | |
- 'pkgs/intl4x/**' | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/intl4x.yml' | |
- 'pkgs/intl4x/**' | |
schedule: | |
- cron: '0 0 * * 0' # weekly | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
env: | |
ICU4X_BUILD_MODE: checkout | |
LOCAL_ICU4X_CHECKOUT: ${{ github.workspace }}/submodules/icu4x | |
defaults: | |
run: | |
working-directory: pkgs/intl4x | |
strategy: | |
matrix: | |
sdk: [stable, dev] # {pkgs.versions} | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
include: | |
- sdk: dev | |
run-tests: true | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
with: | |
submodules: true | |
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: ${{matrix.sdk}} | |
- run: dart --enable-experiment=native-assets pub get | |
- run: dart --enable-experiment=native-assets analyze --fatal-infos | |
- run: dart --enable-experiment=native-assets format --output=none --set-exit-if-changed . | |
if: ${{matrix.run-tests}} | |
- run: dart --enable-experiment=native-assets test | |
if: ${{matrix.run-tests}} | |
- run: dart --enable-experiment=native-assets test -p chrome | |
if: ${{matrix.run-tests}} | |
build_fetch: | |
runs-on: ${{ matrix.os }} | |
env: | |
ICU4X_BUILD_MODE: fetch | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
defaults: | |
run: | |
working-directory: pkgs/intl4x | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 | |
with: | |
submodules: true | |
- uses: dart-lang/setup-dart@0a8a0fc875eb934c15d08629302413c671d3f672 | |
with: | |
sdk: dev | |
- run: dart --enable-experiment=native-assets pub get | |
- run: dart --enable-experiment=native-assets test |