-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial actions setup * Removed toolchain option * TOML file not supported yet by rust-actions See actions-rs/toolchain#126 * Downgraded toolchain file to pre-rustup 1.23.0
- Loading branch information
1 parent
71d855f
commit c3e23e0
Showing
3 changed files
with
80 additions
and
3 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,79 @@ | ||
name: Rust | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
x86_64-unknown-linux-gnu: | ||
runs-on: ubuntu-latest | ||
name: x86_64-unknown-linux-gnu | ||
steps: | ||
- name: Repo checkout | ||
uses: actions/checkout@v2 | ||
- name: Toolchain setup | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
target: x86_64-unknown-linux-gnu | ||
override: true | ||
- name: Build release | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --release --verbose | ||
- name: Test release | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --release --verbose | ||
|
||
x86_64-pc-windows-msvc: | ||
runs-on: windows-latest | ||
name: x86_64-pc-windows-msvc | ||
steps: | ||
- name: Repo checkout | ||
uses: actions/checkout@v2 | ||
- name: Toolchain setup | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
target: x86_64-pc-windows-msvc | ||
override: true | ||
- name: Build release | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --release --verbose | ||
- name: Test release | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --release --verbose | ||
|
||
x86_64-apple-darwin : | ||
runs-on: macos-latest | ||
name: x86_64-apple-darwin | ||
steps: | ||
- name: Repo checkout | ||
uses: actions/checkout@v2 | ||
- name: Toolchain setup | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
target: x86_64-apple-darwin | ||
override: true | ||
- name: Build release | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: build | ||
args: --release --verbose | ||
- name: Test release | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: test | ||
args: --release --verbose | ||
|
||
|
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 @@ | ||
nightly-2021-05-20 |
This file was deleted.
Oops, something went wrong.