Fix the build problems in issue 22 related to FFI #174
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: dargon2 | |
on: | |
# push: | |
# pull_request: | |
defaults: | |
run: | |
working-directory: dargon2 | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: dart-lang/setup-dart@v1 | |
- name: Use Test Pubspec Files | |
run: | | |
rm pubspec.yaml | |
rm ../dargon2_core/pubspec.yaml | |
mv pubspec.test.yaml pubspec.yaml | |
mv ../dargon2_core/pubspec.test.yaml ../dargon2_core/pubspec.yaml | |
- name: Install dependencies | |
run: dart pub get | |
- name: Run tests | |
run: dart pub run test |