Skip to content

Commit

Permalink
Trying different github action configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbrbr committed Jan 13, 2025
1 parent b8d0338 commit 96e3065
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
build:
strategy:
matrix:
mozconfig: [ "Base", "JitSpew", "TaintSpew" ]
taintspew: [ "false", "true" ]
jitspew: [ "false", "true" ]

# The type of runner that the job will run on
runs-on: ubuntu-latest
Expand Down Expand Up @@ -57,11 +58,11 @@ jobs:
cp taintfox_mozconfig_spidermonkey .mozconfig
- name: Enable JitSpew
if: ${{ matrix.mozconfig }} == "JitSpew"
if: ${{ matrix.jitspew == "true" }}
run: echo "ac_add_options --enable-jitspew" >> .mozconfig

- name: Enable Taint Spew
if: ${{ matrix.mozconfig }} == "TaintSpew"
if: ${{ matrix.taintspew == "true" }}
run: echo "ac_add_options --enable-taintspew" >> .mozconfig

# Build
Expand All @@ -83,7 +84,7 @@ jobs:
- name: Upload Report
uses: actions/upload-artifact@v4 # upload test results
if: (${{ matrix.mozconfig }} == "Base") && (success() || failure()) # run this step even if previous step failed
if: ${{ matrix.taintspew == "false" && matrix.jitspew == "false" && (success() || failure()) }} # run this step even if previous step failed
with:
name: test-results
path: build/jstest_output.xml

0 comments on commit 96e3065

Please sign in to comment.