Skip to content

Commit

Permalink
Add check for produced binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Jul 22, 2024
1 parent 69a4fb3 commit fe1694d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/intl4x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,31 +86,3 @@ jobs:
- run: dart --enable-experiment=native-assets pub get

- run: dart --enable-experiment=native-assets test


build_fetch_local:
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
34 changes: 34 additions & 0 deletions .github/workflows/intl4x_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,40 @@ jobs:
dart --enable-experiment=native-assets run tool/generate_hashes.dart local .
git diff --name-only --exit-code
build_local:
runs-on: ${{ matrix.os }}

env:
ICU4X_BUILD_MODE: local
LOCAL_ICU4X_BINARY: linux_x64

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

defaults:
run:
working-directory: pkgs/intl4x

steps:
- name: Download binaries
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e

- name: Display structure of downloaded files
run: ls -R

- 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

release:
needs: dart-libs
runs-on: ubuntu-latest
Expand Down

0 comments on commit fe1694d

Please sign in to comment.