Try using windows-latest CI (#4553)

See if our `windows-2019` woes are solved now that backtraces are using
frame pointers instead of native APIs.
This commit is contained in:
Alex Crichton
2022-07-29 12:15:54 -05:00
committed by GitHub
parent 6d6e7e0f6a
commit b1273548fb

View File

@@ -217,8 +217,8 @@ jobs:
- os: ubuntu-latest - os: ubuntu-latest
# defaults to x86_64-apple-darwin # defaults to x86_64-apple-darwin
- os: macos-latest - os: macos-latest
- os: windows-2019 - os: windows-latest
- os: windows-2019 - os: windows-latest
target: x86_64-pc-windows-gnu target: x86_64-pc-windows-gnu
- os: ubuntu-latest - os: ubuntu-latest
target: aarch64-unknown-linux-gnu target: aarch64-unknown-linux-gnu
@@ -302,11 +302,11 @@ jobs:
- run: cmake -E env CTEST_OUTPUT_ON_FAILURE=1 cmake --build examples/build --config Debug --target RUN_TESTS - run: cmake -E env CTEST_OUTPUT_ON_FAILURE=1 cmake --build examples/build --config Debug --target RUN_TESTS
env: env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
if: matrix.target == '' && matrix.os == 'windows-2019' if: matrix.target == '' && matrix.os == 'windows-latest'
- run: cmake -E env CTEST_OUTPUT_ON_FAILURE=1 cmake --build examples/build --config Debug --target test - run: cmake -E env CTEST_OUTPUT_ON_FAILURE=1 cmake --build examples/build --config Debug --target test
env: env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1
if: matrix.target == '' && matrix.os != 'windows-2019' if: matrix.target == '' && matrix.os != 'windows-latest'
# Build and test all features # Build and test all features
- run: ./ci/run-tests.sh --locked - run: ./ci/run-tests.sh --locked