-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: github workflow to run tests (#12)
Adding github workflow to run rust tests as well as integration tests. As part of that cleaned up use of _nightly_ feature and removed dependency on `cargo-expand` module in order to keep the workflow fast. - chore: build+test workflow - chore: remove str_split feature annotation - chore: setup dart and pub for ci tests - chore: adding llvm to github actions - rid-build: expanding without cargo expand - chore: rustc expand needs nightly rust - chore: final cleanup of github action
- Loading branch information
Showing
6 changed files
with
56 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build+Test | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build_and_test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rust: [nightly] | ||
dart_sdk: [2.14.0-115.0.dev] # ffigen depends on Dart v2.14+ | ||
|
||
steps: | ||
- uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: ${{ matrix.rust }} | ||
|
||
# ffigen depends on an llvm | ||
- name: Install libclang-10-dev | ||
run: sudo apt-get install libclang-10-dev | ||
|
||
- uses: dart-lang/[email protected] | ||
with: | ||
sdk: ${{ matrix.dart_sdk }} | ||
|
||
- uses: actions/checkout@master | ||
|
||
- name: Build and Run Tests | ||
run: make test |
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
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
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