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.
This commit is contained in:
Alex Crichton
2023-02-16 15:17:19 -06:00
committed by GitHub
parent 65633db244
commit 3ce439ce57
2 changed files with 3 additions and 2 deletions

View File

@@ -448,7 +448,7 @@ jobs:
- run: | - run: |
sudo apt-get update && sudo apt-get install -y gdb lldb llvm sudo apt-get update && sudo apt-get install -y gdb lldb llvm
cargo test test_debug_dwarf -- --ignored --test-threads 1 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: env:
RUST_BACKTRACE: 1 RUST_BACKTRACE: 1

View File

@@ -36,7 +36,8 @@ const array = [
{ {
"os": "ubuntu-latest", "os": "ubuntu-latest",
"name": "Test Linux x86_64", "name": "Test Linux x86_64",
"filter": "linux-x64" "filter": "linux-x64",
"isa": "x64"
}, },
{ {
"os": "macos-latest", "os": "macos-latest",