diff options
author | David Tolnay <dtolnay@gmail.com> | 2024-03-16 19:45:33 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2024-03-16 20:06:19 -0700 |
commit | 07a056908617acbdad914acda674b6da88ed1add (patch) | |
tree | eaf9ad948e07b5bd215637bcc841ed03e1413c7b | |
parent | b63fec76948cc6941bfed1bec57e007b8238dbd5 (diff) | |
download | cxx-07a056908617acbdad914acda674b6da88ed1add.tar.gz |
Raise minimum tested compiler to 1.70
Required by the `toml` crate.
-rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37d884a6..16ae9ab8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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}} |