Skip to content

Commit

Permalink
Use cross version from source (#722)
Browse files Browse the repository at this point in the history
* Use cross version from source for certain targets

* Use cross from source for all targets
  • Loading branch information
philss authored Oct 17, 2023
1 parent 63f2ed6 commit b88c2c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ jobs:
- { target: x86_64-pc-windows-gnu, os: windows-2022, variant: "legacy_cpu" }
- { target: x86_64-pc-windows-msvc, os: windows-2019, rustflags: "-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma" }
- { target: x86_64-pc-windows-msvc, os: windows-2019, variant: "legacy_cpu" }
- { target: x86_64-unknown-freebsd, os: ubuntu-22.04, use-cross: true, cross-version: v0.2.5, rustflags: "-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma" }
- { target: x86_64-unknown-freebsd, os: ubuntu-22.04, use-cross: true, cross-version: v0.2.5, variant: "legacy_cpu" }
- { target: x86_64-unknown-freebsd, os: ubuntu-22.04, use-cross: true, rustflags: "-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma" }
- { target: x86_64-unknown-freebsd, os: ubuntu-22.04, use-cross: true, variant: "legacy_cpu" }
- { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, rustflags: "-C target-feature=+fxsr,+sse,+sse2,+sse3,+ssse3,+sse4.1,+sse4.2,+popcnt,+avx,+fma" }
- { target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, variant: "legacy_cpu" }
- { target: x86_64-unknown-linux-musl, os: ubuntu-20.04, use-cross: true }
Expand Down Expand Up @@ -74,14 +74,14 @@ jobs:
- name: Build the project
id: build-crate
uses: philss/[email protected].0
uses: philss/[email protected].1
with:
project-name: explorer
project-version: ${{ env.PROJECT_VERSION }}
target: ${{ matrix.job.target }}
nif-version: ${{ matrix.nif }}
use-cross: ${{ matrix.job.use-cross }}
cross-version: ${{ matrix.job.cross-version || 'v0.2.4' }}
cross-version: ${{ matrix.job.cross-version || 'from-source' }}
project-dir: "native/explorer"
cargo-args: ${{ matrix.job.cargo-args }}
variant: ${{ matrix.job.variant }}
Expand Down

0 comments on commit b88c2c4

Please sign in to comment.