Skip to content

Commit

Permalink
ci: install cargo-c
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Oct 16, 2024
1 parent 88466c9 commit 8c68930
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,16 @@ jobs:

- run: rustup target add ${{ matrix.target }}

- name: Build
run: cargo build --bin yr --profile release-lto --target ${{ matrix.target }}
env:
RUSTFLAGS: "-C target-feature=+crt-static"
#- name: Build
# run: cargo build --bin yr --profile release-lto --target ${{ matrix.target }}
# env:
# RUSTFLAGS: "-C target-feature=+crt-static"

- name: Build C library
if: matrix.build == 'windows'
run: cargo cbuild --profile release-lto --target ${{ matrix.target }}
run: |
cargo install cargo-c
cargo cbuild --profile release-lto --target ${{ matrix.target }}
env:
RUSTFLAGS: "-C target-feature=+crt-static"

Expand Down

0 comments on commit 8c68930

Please sign in to comment.