Skip to content

Commit dde71e4

Browse files
committed
[TEMP COMMIT] z80 ll test regen and check changes?
1 parent a7e1f7f commit dde71e4

1 file changed

Lines changed: 16 additions & 3 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
runs-on: [ubuntu-22.04, ubuntu-latest, macos-15-intel, macos-14, windows-latest]
14+
runs-on: [ubuntu-latest]
1515
build-type: [Release]
1616
runs-on: ${{matrix.runs-on}}
1717
steps:
@@ -176,7 +176,7 @@ jobs:
176176
strategy:
177177
fail-fast: false
178178
matrix:
179-
runs-on: [ubuntu-22.04, ubuntu-latest, macos-15-intel, macos-14, windows-latest]
179+
runs-on: [ubuntu-latest]
180180
build-type: [Release]
181181
runs-on: ${{matrix.runs-on}}
182182
steps:
@@ -321,7 +321,7 @@ jobs:
321321
strategy:
322322
fail-fast: false
323323
matrix:
324-
runs-on: [ubuntu-22.04, ubuntu-latest, macos-15-intel, macos-14]
324+
runs-on: [ubuntu-latest]
325325
build-type: [Release]
326326
runs-on: ${{matrix.runs-on}}
327327
steps:
@@ -357,6 +357,19 @@ jobs:
357357
run: build/unittests/Target/Z80/Z80Tests${{env.EXE}}
358358
- name: Test LLVM Z80
359359
run: build/bin/llvm-lit${{env.PY}} -v src/llvm/test/CodeGen/Z80
360+
- name: Regenerate Z80 .ll checks (Linux)
361+
if: runner.os == 'Linux' && matrix.runs-on == 'ubuntu-latest' && always()
362+
working-directory: build
363+
run: python3 ../src/llvm/utils/update_llc_test_checks.py --llc-binary ./bin/llc ../src/llvm/test/CodeGen/Z80/*.ll
364+
- name: Show regenerated Z80 diffs (Linux)
365+
if: runner.os == 'Linux' && matrix.runs-on == 'ubuntu-latest' && always()
366+
run: |
367+
if git -C src diff --quiet -- llvm/test/CodeGen/Z80; then
368+
echo "No regenerated Z80 test changes."
369+
else
370+
git -C src status --short -- llvm/test/CodeGen/Z80
371+
git -C src diff -- llvm/test/CodeGen/Z80
372+
fi
360373
361374
nightly:
362375
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)