Skip to content

Commit

Permalink
Merge pull request #91 from wcampbell0x2a/handle-new-rustc-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a authored Oct 12, 2024
2 parents 9432763 + 1677f16 commit 28a3288
Show file tree
Hide file tree
Showing 9 changed files with 530 additions and 46 deletions.
34 changes: 31 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: ci

jobs:
# build, test all supported targets
build-test-stable:
build-stable:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -25,10 +25,38 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.targets }}
- run: cargo install cargo-quickinstall
- run: cargo quickinstall cross
- run: cargo install cross --git https://github.com/cross-rs/cross --force
- run: cross build --locked --workspace --target ${{ matrix.targets }}

# test (only x86-64-unknown-linux-musl)
test-stable:
runs-on: ubuntu-latest
strategy:
matrix:
targets:
- x86_64-unknown-linux-musl
toolchain:
- nightly-2024-10-09

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 # master
with:
toolchain: ${{ matrix.toolchain }}
target: x86_64-unknown-linux-musl, x86_64-unknown-linux-gnu
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: python3 -m http.server -h
- run: cargo install cross --git https://github.com/cross-rs/cross --force
- run: echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
- run: echo "${CARGO_HOME:-$HOME/.rustup}/bin" >> $GITHUB_PATH
- run: rustup install nightly-2024-05-19
- run: rustup +nightly-2024-05-19 component add rust-src
- run: rustup install nightly-2024-10-09
- run: rustup +nightly-2024-10-09 component add rust-src
- run: cargo test --locked --workspace --target x86_64-unknown-linux-gnu

# fmt and clippy on nightly builds
fmt-clippy-nightly:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.0] - 10-12-2024
- Add support for latest nightly
- Add `--skip-git-index` to not download git index crates.io

## [0.8.1] - 05-30-2024
- Force checkout when using Fast-Forward when updating git `crates.io-index`

Expand Down
Loading

0 comments on commit 28a3288

Please sign in to comment.