From 3ce439ce570d1200c25fa91c49e5e73e08938c95 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 16 Feb 2023 15:17:19 -0600 Subject: [PATCH] Update PR tests slightly and when what runs where (#5805) * Don't run LLDB tests on PRs These take an extra minute or so, so only run them on the full test suite of a merge instead of on all PRs as well. * Add a test for the x64 isa files This guarantees that if cranelift's x64 backend is modified that the tests will be run on a PR, even if other backends were also modified. --- .github/workflows/main.yml | 2 +- ci/build-test-matrix.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 09613f407a..fc0df7094a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -448,7 +448,7 @@ jobs: - run: | sudo apt-get update && sudo apt-get install -y gdb lldb llvm cargo test test_debug_dwarf -- --ignored --test-threads 1 - if: matrix.os == 'ubuntu-latest' && matrix.target == '' + if: matrix.os == 'ubuntu-latest' && matrix.target == ''&& needs.determine.outputs.run-full env: RUST_BACKTRACE: 1 diff --git a/ci/build-test-matrix.js b/ci/build-test-matrix.js index c02752c5da..d0dd51b93c 100644 --- a/ci/build-test-matrix.js +++ b/ci/build-test-matrix.js @@ -36,7 +36,8 @@ const array = [ { "os": "ubuntu-latest", "name": "Test Linux x86_64", - "filter": "linux-x64" + "filter": "linux-x64", + "isa": "x64" }, { "os": "macos-latest",