Skip to content

Commit b4893b0

Browse files
committed
Add "packaged" flag to CI build
1 parent fc56612 commit b4893b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-test-all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ jobs:
4242
uses: actions-rs/cargo@v1
4343
with:
4444
command: build
45-
args: --package ${{ matrix.crate }} --release --target ${{ matrix.target }}
45+
args: --manifest-path ${{ matrix.crate }}/Cargo.toml --release --target ${{ matrix.target }} --features "packaged"
4646

4747
- name: Test ${{ matrix.crate }}
4848
uses: actions-rs/cargo@v1
4949
with:
5050
command: test
51-
args: --package ${{ matrix.crate }} --release --target ${{ matrix.target }}
51+
args: --manifest-path ${{ matrix.crate }}/Cargo.toml --release --target ${{ matrix.target }} --features "packaged"
5252

5353
- name: rustfmt
5454
if: matrix.os == 'ubuntu-latest' && matrix.rust == 'stable'

0 commit comments

Comments
 (0)