Skip to content

Commit

Permalink
GHA main: Disable lit-test driver/config_diag.d for macOS arm64 job
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke committed Feb 10, 2024
1 parent 69b43d5 commit b3fd728
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/actions/4b-test-lit/action.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
name: Run LIT testsuite
inputs:
arch:
required: false # Windows only
required: false # Windows and macOS only
runs:
using: composite
steps:

- name: 'Posix: Run LIT testsuite'
if: runner.os != 'Windows'
shell: bash
# temporarily add LLVM bin dir to PATH, so that e.g. wasm-ld is found
run: cd ../build && PATH="$PWD/../llvm/bin:$PATH" ctest -V -R "lit-tests"
run: |
set -eux
# FIXME: crashes on M1 runners
if [[ '${{ runner.os }}-${{ inputs.arch }}' == macOS-arm64 ]]; then
rm tests/driver/config_diag.d
fi
cd ../build
# temporarily add LLVM bin dir to PATH, so that e.g. wasm-ld is found
PATH="$PWD/../llvm/bin:$PATH" ctest -V -R "lit-tests"
- name: 'Windows: Run LIT testsuite'
if: runner.os == 'Windows'
Expand Down

0 comments on commit b3fd728

Please sign in to comment.