Skip to content

Commit 2b5c5a8

Browse files
committed
Update CI for cargo workspace
1 parent 1a72313 commit 2b5c5a8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/nightly_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# uses: actions-rs/cargo@v1
3232
# with:
3333
# command: test
34-
# args: --release --verbose
34+
# args: --release --verbose --workspace
3535
#
3636
# - name: Get previous nightly Release info
3737
# uses: octokit/[email protected]
@@ -73,7 +73,7 @@
7373
# with:
7474
# use-cross: true
7575
# command: build
76-
# args: --release --verbose --target=x86_64-pc-windows-gnu
76+
# args: --release --verbose --package customasm-cli --target=x86_64-pc-windows-gnu
7777
#
7878
# - name: Create remote nightly tag
7979
# env:
@@ -114,4 +114,4 @@
114114
# upload_url: ${{ steps.create_release.outputs.upload_url }}
115115
# asset_path: ./pkg/pkg.zip
116116
# asset_name: customasm_${{ env.RELEASE_TAG }}_win64.zip
117-
# asset_content_type: application/zip
117+
# asset_content_type: application/zip

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
uses: actions-rs/cargo@v1
2626
with:
2727
command: test
28-
args: --release --verbose
28+
args: --release --verbose --workspace
2929

3030
- name: Build
3131
uses: actions-rs/cargo@v1
3232
with:
3333
use-cross: true
3434
command: build
35-
args: --release --verbose --target=x86_64-pc-windows-gnu
35+
args: --release --verbose --package customasm-cli --target=x86_64-pc-windows-gnu
3636

3737
- name: Create Release
3838
id: create_release
@@ -65,4 +65,4 @@ jobs:
6565
upload_url: ${{ steps.create_release.outputs.upload_url }}
6666
asset_path: ./pkg/pkg.zip
6767
asset_name: customasm_win64.zip
68-
asset_content_type: application/zip
68+
asset_content_type: application/zip

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v2
2424
- name: Build
25-
run: cargo build --verbose
25+
run: cargo build --verbose --workspace
2626
- name: Run tests
27-
run: cargo test --verbose
27+
run: cargo test --verbose --workspace

0 commit comments

Comments
 (0)