skip tests without directive, and escape * in ubuntu run

This commit is contained in:
Nikita Smith
2026-06-02 12:11:00 -07:00
committed by Ryan Fleury
parent 3a109a7343
commit a151df283f
3 changed files with 12 additions and 5 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ on:
- '**.md'
env:
TORTURE_FLAGS: "* --gen_crash_dump"
TORTURE_FLAGS: "--gen_crash_dump"
jobs:
build-ubuntu-24-04:
@@ -97,7 +97,7 @@ jobs:
- name: Run
shell: bash
run: |
CC="${{ matrix.compiler }}" ./run.sh clang "${{ matrix.mode }}" -- $TORTURE_FLAGS
CC="${{ matrix.compiler }}" ./run.sh clang "${{ matrix.mode }}" -- \* $TORTURE_FLAGS
- name: Upload Artifacts
if: failure()
uses: actions/upload-artifact@v7
@@ -129,7 +129,7 @@ jobs:
run: |
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do set "VS_INSTALL=%%i"
call "%VS_INSTALL%\VC\Auxiliary\Build\vcvarsall.bat" x64
call run.bat ${{ matrix.compiler }} ${{ matrix.mode }} -- %TORTURE_FLAGS% || exit /b 1
call run.bat ${{ matrix.compiler }} ${{ matrix.mode }} -- * %TORTURE_FLAGS% || exit /b 1
- name: Upload Artifacts
if: failure()
uses: actions/upload-artifact@v7