docs: rust.yml

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2023-10-02 23:30:44 +03:00
parent 133746bc73
commit 36f53c9179

View file

@ -15,22 +15,29 @@ 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
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 - uses: actions-rs/cargo@v1
name: Build Windows x86 name: Build Windows x86
with: with:
@ -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