Skip to content

Commit

Permalink
Fix Windows CI issue.
Browse files Browse the repository at this point in the history
It's unclear what's happening here besides a linking error.  The
relevant issues are: cross-rs/cross#1463 and
cross-rs/cross#1453.

Pinning to cross 0.2.5 and swtching to the Rust stable toolchain seems
to fix things for now.
  • Loading branch information
FrancisRussell committed Apr 1, 2024
1 parent 81db523 commit c37f7cf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,15 @@ jobs:
name: Install Rustup
with:
command: install-rustup
toolchain: nightly
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
default: true
- uses: FrancisRussell/ferrous-actions@v0.1.0-beta.1
name: Install cross (workaround for (https://github.com/cross-rs/cross/issues/1453))
with:
command: cargo install
args: cross --git https://github.com/cross-rs/cross --tag v0.2.5
- uses: FrancisRussell/ferrous-actions@v0.1.0-beta.1
name: Cargo build
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ jobs:
name: Install Rustup
with:
command: install-rustup
toolchain: nightly
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
default: true
- uses: FrancisRussell/ferrous-actions@v0.1.0-beta.1
name: Install cross (workaround for (https://github.com/cross-rs/cross/issues/1453))
with:
command: cargo install
args: cross --git https://github.com/cross-rs/cross --tag v0.2.5
- uses: FrancisRussell/ferrous-actions@v0.1.0-beta.1
name: Build
with:
Expand Down

0 comments on commit c37f7cf

Please sign in to comment.