This repository has been archived by the owner on Aug 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1028 from cloudflare/avery/run-action
test rust with GitHub Actions
- Loading branch information
Showing
2 changed files
with
84 additions
and
34 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,78 @@ | ||
name: Rust | ||
|
||
on: [push] | ||
|
||
jobs: | ||
test-linux-stable: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Test Linux Stable | ||
run: cargo test --locked --verbose | ||
env: | ||
RUST_LOG: warn,wrangler=info | ||
RUST_BACKTRACE: 1 | ||
|
||
test-linux-nightly: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Test Linux Nightly | ||
run: | | ||
rustup override set nightly | ||
cargo test --locked --verbose | ||
env: | ||
RUST_LOG: warn,wrangler=info | ||
RUST_BACKTRACE: 1 | ||
|
||
test-windows-stable: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Test Windows Stable | ||
run: cargo test --locked --verbose | ||
env: | ||
RUST_LOG: warn,wrangler=info | ||
RUST_BACKTRACE: 1 | ||
|
||
test-windows-nightly: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Test Windows Nightly | ||
run: | | ||
rustup override set nightly | ||
cargo test --locked --verbose | ||
env: | ||
RUST_LOG: warn,wrangler=info | ||
RUST_BACKTRACE: 1 | ||
|
||
|
||
test-macos-stable: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Test MacOS Stable | ||
run: cargo test --locked --verbose | ||
env: | ||
RUST_LOG: warn,wrangler=info | ||
RUST_BACKTRACE: 1 | ||
|
||
test-macos-nightly: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Test MacOS Nightly | ||
run: | | ||
rustup override set nightly | ||
cargo test --locked --verbose | ||
env: | ||
RUST_LOG: warn,wrangler=info | ||
RUST_BACKTRACE: 1 | ||
|
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