Skip to content

Commit

Permalink
misc: Sync stable .github with develop (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyRBruce committed Apr 21, 2024
1 parent 0b2fa99 commit 1153223
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
run: echo "sanatized-test-dir=$(echo '${{ matrix.test-dir }}' | sed 's/\//-/g')" >> $GITHUB_OUTPUT

# Upload the tests/testing-results directory as an artifact.
- name: Upload test results
- name: upload results
if: success() || failure()
uses: actions/upload-artifact@v4
with:
Expand Down
18 changes: 4 additions & 14 deletions .github/workflows/daily-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,14 @@ jobs:
- name: long ${{ matrix.test-type }} tests
working-directory: ${{ github.workspace }}/tests
run: ./main.py run gem5/${{ matrix.test-type }} --length=long --skip-build -vv -t $(nproc)
- name: create zip of results
if: success() || failure()
run: |
apt-get -y install zip
zip -r output.zip tests/testing-results
- name: upload zip
- name: upload results
if: success() || failure()
uses: actions/upload-artifact@v4
env:
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
with:
name: ${{ env.MY_STEP_VAR }}
path: output.zip
path: tests/testing-results
retention-days: 7
- run: echo "This job's status is ${{ job.status }}."

Expand Down Expand Up @@ -202,19 +197,14 @@ jobs:
working-directory: ${{ github.workspace }}/tests
run: ./main.py run --uid SuiteUID:tests/gem5/gem5_library_example_tests/test_gem5_library_examples.py:test-${{ matrix.test-type }} --length=long
--skip-build -vv
- name: create zip of results
if: success() || failure()
run: |
apt-get -y install zip
zip -r output.zip tests/testing-results
- name: upload zip
- name: upload results
if: success() || failure()
uses: actions/upload-artifact@v4
env:
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
with:
name: ${{ env.MY_STEP_VAR }}
path: output.zip
path: tests/testing-results
retention-days: 7
- run: echo "This job's status is ${{ job.status }}."

Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/weekly-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,19 +139,14 @@ jobs:
- name: very-long ${{ matrix.test-type }}
working-directory: ${{ github.workspace }}/tests
run: ./main.py run gem5/${{ matrix.test-type }} --length very-long --skip-build -vv
- name: create zip of results
if: success() || failure()
run: |
apt-get -y install zip
zip -r output.zip tests/testing-results
- name: upload zip
- name: upload results
if: success() || failure()
uses: actions/upload-artifact@v4
env:
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
with:
name: ${{ env.MY_STEP_VAR }}
path: output.zip
path: tests/testing-results
retention-days: 7
- run: echo "This job's status is ${{ job.status }}."

Expand Down

0 comments on commit 1153223

Please sign in to comment.