linux build specifics
This commit is contained in:
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -53,13 +53,21 @@ jobs:
|
|||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
run: |
|
run: |
|
||||||
. $HOME/.cargo/env
|
. $HOME/.cargo/env
|
||||||
cargo build --workspace
|
cargo build --workspace --exclude g3-computer-control
|
||||||
cargo test --workspace --lib --tests
|
cargo test --workspace --exclude g3-computer-control --lib --tests
|
||||||
|
|
||||||
- name: Build (Linux x86_64 / macOS)
|
- name: Build (Linux x86_64)
|
||||||
if: matrix.arch != 'aarch64'
|
if: matrix.arch != 'aarch64' && runner.os == 'Linux'
|
||||||
|
run: cargo build --workspace --exclude g3-computer-control
|
||||||
|
|
||||||
|
- name: Run tests (Linux x86_64)
|
||||||
|
if: matrix.arch != 'aarch64' && runner.os == 'Linux'
|
||||||
|
run: cargo test --workspace --exclude g3-computer-control --lib --tests
|
||||||
|
|
||||||
|
- name: Build (macOS)
|
||||||
|
if: runner.os == 'macOS'
|
||||||
run: cargo build --workspace
|
run: cargo build --workspace
|
||||||
|
|
||||||
- name: Run tests (Linux x86_64 / macOS)
|
- name: Run tests (macOS)
|
||||||
if: matrix.arch != 'aarch64'
|
if: runner.os == 'macOS'
|
||||||
run: cargo test --workspace --lib --tests
|
run: cargo test --workspace --lib --tests
|
||||||
|
|||||||
Reference in New Issue
Block a user