Skip to content

Commit

Permalink
Make cargo build great again
Browse files Browse the repository at this point in the history
hidapi dependency causes issues with `--all-features`, which should be
unnecessary anyway
  • Loading branch information
lrettig committed May 5, 2023
1 parent 45f1e8a commit 19feebb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ jobs:
run: make diff
- name: Compile
if: matrix.name != 'windows-amd64'
run: cargo build --release --all-features
run: cargo build --release
- name: Compile Windows
if: matrix.name == 'windows-amd64'
# On Windows we only build using the GNU toolchain (not MSVC, the default)
run: cargo build --release --all-features --target ${{ matrix.toolchain }}
run: cargo build --release --target ${{ matrix.toolchain }}
- name: Compile staticlib
if: contains(matrix.toolchain, 'musl')
# Linux requires a different toolchain for static lib generation
run: |
cargo build --release --all-features --target ${{ matrix.toolchain }}
cargo build --release --target ${{ matrix.toolchain }}
# overwrite static glibc static lib
mv target/${{ matrix.toolchain }}/release/libed25519_bip32.a target/release
- name: Prepare files
Expand Down

0 comments on commit 19feebb

Please sign in to comment.