Skip to content

Commit

Permalink
Fix concurrency config and enable build-std for cargo build
Browse files Browse the repository at this point in the history
  • Loading branch information
oleander committed Nov 16, 2024
1 parent dc07ae8 commit 84e7668
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: false

permissions:
contents: write
Expand Down Expand Up @@ -44,6 +44,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rust-src,cargo
target: ${{ env.TARGET }}
override: true
profile: dev
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
# run: cargo publish --allow-dirty --dry-run

- name: Build for target (${{ env.TARGET }})
run: cargo build -Zunstable-options --profile dev --artifact-dir bin --target ${{ env.TARGET }}
run: cargo build -Zunstable-options -Zbuild-std --profile dev --artifact-dir bin --target ${{ env.TARGET }}

- name: List all targets
run: |
Expand Down

0 comments on commit 84e7668

Please sign in to comment.