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:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
|
- name: Run tests
|
||||||
|
run: cargo test --verbose
|
||||||
|
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build Linux x86
|
- name: Build Linux x86
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
|
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
name: Toolchain Windows x86
|
name: Toolchain Windows x86
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
target: x86_64-pc-windows-gnu
|
target: x86_64-pc-windows-gnu
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
|
||||||
name: Toolchain Apple x86
|
#- uses: actions-rs/toolchain@v1
|
||||||
with:
|
# name: Toolchain Apple x86
|
||||||
toolchain: stable
|
# with:
|
||||||
target: x86_64-apple-darwin
|
# toolchain: stable
|
||||||
|
# target: x86_64-apple-darwin
|
||||||
|
|
||||||
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
name: Build Windows x86
|
name: Build Windows x86
|
||||||
|
@ -47,8 +54,7 @@ jobs:
|
||||||
# args: --release --target x86_64-apple-darwin
|
# args: --release --target x86_64-apple-darwin
|
||||||
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: cargo test --verbose
|
|
||||||
|
|
||||||
- name: Set short git commit SHA
|
- name: Set short git commit SHA
|
||||||
id: vars
|
id: vars
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue