misc,tests: Update daily test artifact actions to v4.0.0
Change-Id: I711fa36639e925ce958e0484a31ee6a4dde87dbe
This commit is contained in:
12
.github/workflows/daily-tests.yaml
vendored
12
.github/workflows/daily-tests.yaml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
run: scons setconfig build/${{ matrix.image }} ${{ matrix.setconfig-option }}
|
run: scons setconfig build/${{ matrix.image }} ${{ matrix.setconfig-option }}
|
||||||
- name: Build gem5
|
- name: Build gem5
|
||||||
run: scons build/${{ matrix.image }}/gem5.opt -j $(nproc)
|
run: scons build/${{ matrix.image }}/gem5.opt -j $(nproc)
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{ needs.name-artifacts.outputs.build-name }}${{ matrix.image }}
|
name: ${{ needs.name-artifacts.outputs.build-name }}${{ matrix.image }}
|
||||||
path: '*build/${{ matrix.image }}/gem5.opt'
|
path: '*build/${{ matrix.image }}/gem5.opt'
|
||||||
@@ -78,7 +78,7 @@ jobs:
|
|||||||
needs: [build-gem5, name-artifacts]
|
needs: [build-gem5, name-artifacts]
|
||||||
steps:
|
steps:
|
||||||
- name: Merge gem5 build artifacts
|
- name: Merge gem5 build artifacts
|
||||||
uses: actions/upload-artifact/merge@v4
|
uses: actions/upload-artifact/merge@v4.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{needs.name-artifacts.outputs.build-name}}
|
name: ${{needs.name-artifacts.outputs.build-name}}
|
||||||
pattern: ${{needs.name-artifacts.outputs.build-name}}*
|
pattern: ${{needs.name-artifacts.outputs.build-name}}*
|
||||||
@@ -125,7 +125,7 @@ jobs:
|
|||||||
# download all artifacts for each test. Thoguh this is inelegant,
|
# download all artifacts for each test. Thoguh this is inelegant,
|
||||||
# it's simpler than figuring otu which long tests requires which
|
# it's simpler than figuring otu which long tests requires which
|
||||||
# binary.
|
# binary.
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{needs.name-artifacts.outputs.build-name}}
|
name: ${{needs.name-artifacts.outputs.build-name}}
|
||||||
# The upload/download GitHub actions do not preserve the executable
|
# The upload/download GitHub actions do not preserve the executable
|
||||||
@@ -138,7 +138,7 @@ jobs:
|
|||||||
run: ./main.py run gem5/${{ matrix.test-type }} --length=long --skip-build -vv -t $(nproc)
|
run: ./main.py run gem5/${{ matrix.test-type }} --length=long --skip-build -vv -t $(nproc)
|
||||||
- name: upload results
|
- name: upload results
|
||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.0.0
|
||||||
env:
|
env:
|
||||||
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
|
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
|
||||||
with:
|
with:
|
||||||
@@ -167,7 +167,7 @@ jobs:
|
|||||||
# Scheduled workflows run on the default branch by default. We
|
# Scheduled workflows run on the default branch by default. We
|
||||||
# therefore need to explicitly checkout the develop branch.
|
# therefore need to explicitly checkout the develop branch.
|
||||||
ref: develop
|
ref: develop
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4.0.0
|
||||||
with:
|
with:
|
||||||
name: ${{needs.name-artifacts.outputs.build-name}}ALL
|
name: ${{needs.name-artifacts.outputs.build-name}}ALL
|
||||||
- run: chmod u+x build/ALL/gem5.opt
|
- run: chmod u+x build/ALL/gem5.opt
|
||||||
@@ -177,7 +177,7 @@ jobs:
|
|||||||
--skip-build -vv
|
--skip-build -vv
|
||||||
- name: upload results
|
- name: upload results
|
||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4.0.0
|
||||||
env:
|
env:
|
||||||
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
|
MY_STEP_VAR: ${{ matrix.test-type }}_COMMIT.${{github.sha}}_RUN.${{github.run_id}}_ATTEMPT.${{github.run_attempt}}
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user