Skip to content

Commit

Permalink
Raise minimum tested compiler to 1.70
Browse files Browse the repository at this point in the history
Required by the `toml` crate.
  • Loading branch information
dtolnay committed Mar 17, 2024
1 parent b63fec7 commit 07a0569
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- rust: beta
- rust: stable
- rust: 1.60.0
- rust: 1.70.0
- rust: 1.74.0
- name: Cargo on macOS
rust: nightly
Expand Down Expand Up @@ -56,13 +57,14 @@ jobs:
# builds.
run: |
echo RUSTFLAGS=$RUSTFLAGS >> $GITHUB_ENV
echo exclude=--exclude cxx-test-suite ${{matrix.rust == '1.60.0' && '--exclude cxxbridge-cmd' || ''}} >> $GITHUB_OUTPUT
echo exclude=--exclude cxx-test-suite ${{matrix.rust == '1.70.0' && '--exclude cxxbridge-cmd' || ''}} >> $GITHUB_OUTPUT
env:
RUSTFLAGS: ${{env.RUSTFLAGS}} ${{matrix.os && github.event_name != 'schedule' && '--cfg skip_ui_tests' || ''}}
id: testsuite
shell: bash
- run: cargo run --manifest-path demo/Cargo.toml
- run: cargo test --workspace ${{steps.testsuite.outputs.exclude}}
if: matrix.rust != '1.60.0'
- run: cargo check --no-default-features --features alloc
env:
RUSTFLAGS: --cfg compile_error_if_std ${{env.RUSTFLAGS}}
Expand Down

0 comments on commit 07a0569

Please sign in to comment.