docs: rust.yml
This commit is contained in:
parent
133746bc73
commit
36f53c9179
1 changed files with 13 additions and 7 deletions
20
.github/workflows/rust.yml
vendored
20
.github/workflows/rust.yml
vendored
|
@ -15,21 +15,28 @@ jobs:
|
|||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build Linux x86
|
||||
run: cargo build --release
|
||||
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
name: Toolchain Windows x86
|
||||
with:
|
||||
toolchain: stable
|
||||
target: x86_64-pc-windows-gnu
|
||||
|
||||
- uses: actions-rs/toolchain@v1
|
||||
name: Toolchain Apple x86
|
||||
with:
|
||||
toolchain: stable
|
||||
target: x86_64-apple-darwin
|
||||
|
||||
#- uses: actions-rs/toolchain@v1
|
||||
# name: Toolchain Apple x86
|
||||
# with:
|
||||
# toolchain: stable
|
||||
# target: x86_64-apple-darwin
|
||||
|
||||
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: Build Windows x86
|
||||
|
@ -47,8 +54,7 @@ jobs:
|
|||
# args: --release --target x86_64-apple-darwin
|
||||
|
||||
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
||||
|
||||
- name: Set short git commit SHA
|
||||
id: vars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue