Skip to content

Commit

Permalink
build: add feature to workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsusinn committed Dec 18, 2024
1 parent 7becc74 commit 88cb9f0
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
with:
use-cross: ${{ matrix.cross }}
command: clippy
args: --all --target ${{ matrix.target }} ${{ matrix.extra-args }} -- -D warnings
args: --workspace --all --target ${{ matrix.target }} ${{ matrix.extra-args }} -- -D warnings
env:
RUSTFLAGS: ${{ matrix.rustflags }}

Expand All @@ -190,7 +190,7 @@ jobs:
with:
use-cross: ${{ matrix.cross }}
command: test
args: --all --target ${{ matrix.target }} ${{ matrix.extra-args }}
args: --workspace --all --target ${{ matrix.target }} ${{ matrix.extra-args }}
env:
CROSS_CONTAINER_OPTS: "--network host"
RUSTFLAGS: ${{ matrix.rustflags }}
Expand All @@ -200,16 +200,7 @@ jobs:
with:
use-cross: ${{ matrix.cross }}
command: build
args: --package ${{ env.PACKAGE }} --release --target ${{ matrix.target }} ${{ matrix.extra-args }}
env:
RUSTFLAGS: ${{ matrix.rustflags }}

- name: Cargo build
uses: clechasseur/rs-cargo@v2
with:
use-cross: ${{ matrix.cross }}
command: build
args: --package ${{ env.PACKAGE2 }} --release --target ${{ matrix.target }} ${{ matrix.extra-args }}
args: --workspace --release --target ${{ matrix.target }} ${{ matrix.extra-args }}
env:
RUSTFLAGS: ${{ matrix.rustflags }}

Expand Down

0 comments on commit 88cb9f0

Please sign in to comment.