-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add linux CI via github actions (#48)
Travis CI no longer seems to be running. This commit sets up github actions to build/test xed-sys on linux. It mainly mirrors the tests run by appveyor. The main change that this commit makes otherwise is to not run clippy during CI. There's too many false positive warnings in CI due to all the generated code so it turns out to not be useful here.
- Loading branch information
1 parent
2c4fc3d
commit 8b15512
Showing
3 changed files
with
31 additions
and
2 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,27 @@ | ||
|
||
on: [push, pull_request] | ||
|
||
name: ci-linux | ||
|
||
jobs: | ||
build_and_test: | ||
name: xed-rs | ||
runs-on: ubuntu-latest | ||
continue-on-error: ${{ matrix.experimental }} | ||
strategy: | ||
matrix: | ||
toolchain: [stable, beta] | ||
experimental: [false] | ||
include: | ||
- toolchain: nightly | ||
experimental: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,3 @@ build: false | |
|
||
test_script: | ||
- cargo test --verbose | ||
- cargo clippy --all-targets --all-features -- -D warnings |
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