misc: Fixing comment indentation in weekly-tests.yaml
Change-Id: I047ef921703e635b37bacb54cd5b091c2a41b1d3
This commit is contained in:
36
.github/workflows/weekly-tests.yaml
vendored
36
.github/workflows/weekly-tests.yaml
vendored
@@ -4,10 +4,10 @@
|
|||||||
name: Weekly Tests
|
name: Weekly Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Runs every Sunday from 7AM UTC
|
# Runs every Sunday from 7AM UTC
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 00 7 * * 6
|
- cron: 00 7 * * 6
|
||||||
# Allows us to manually start workflow for testing
|
# Allows us to manually start workflow for testing
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -17,8 +17,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# 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
|
||||||
- name: Build gem5
|
- name: Build gem5
|
||||||
run: scons build/VEGA_X86/gem5.opt -j $(nproc) --ignore-style
|
run: scons build/VEGA_X86/gem5.opt -j $(nproc) --ignore-style
|
||||||
@@ -37,8 +37,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# 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
|
||||||
|
|
||||||
- name: Download build/VEGA_X86/gem5.opt
|
- name: Download build/VEGA_X86/gem5.opt
|
||||||
@@ -46,8 +46,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: weekly-test-${{ github.run_number }}-attempt-${{ github.run_attempt }}-gem5-build-vega
|
name: weekly-test-${{ github.run_number }}-attempt-${{ github.run_attempt }}-gem5-build-vega
|
||||||
path: build/VEGA_X86
|
path: build/VEGA_X86
|
||||||
# `download-artifact` does not preserve permissions so we need to set
|
# `download-artifact` does not preserve permissions so we need to set
|
||||||
# them again.
|
# them again.
|
||||||
- run: chmod u+x build/VEGA_X86/gem5.opt
|
- run: chmod u+x build/VEGA_X86/gem5.opt
|
||||||
|
|
||||||
- name: Obtain LULESH
|
- name: Obtain LULESH
|
||||||
@@ -69,8 +69,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# 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@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
@@ -100,8 +100,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# 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
|
||||||
- id: artifact-name
|
- id: artifact-name
|
||||||
run: echo "name=$(date +"%Y-%m-%d_%H.%M.%S")-ALL" >> $GITHUB_OUTPUT
|
run: echo "name=$(date +"%Y-%m-%d_%H.%M.%S")-ALL" >> $GITHUB_OUTPUT
|
||||||
@@ -115,7 +115,7 @@ jobs:
|
|||||||
retention-days: 5
|
retention-days: 5
|
||||||
- run: echo "This job's status is ${{ job.status }}."
|
- run: echo "This job's status is ${{ job.status }}."
|
||||||
|
|
||||||
# start running the very-long tests
|
# start running the very-long tests
|
||||||
testlib-very-long-tests:
|
testlib-very-long-tests:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -130,8 +130,8 @@ jobs:
|
|||||||
run: rm -rf ./* || true rm -rf ./.??* || true rm -rf ~/.cache || true
|
run: rm -rf ./* || true rm -rf ./.??* || true rm -rf ~/.cache || true
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# 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@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
@@ -164,15 +164,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# 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
|
||||||
|
|
||||||
- name: Checkout DRAMSys
|
- name: Checkout DRAMSys
|
||||||
working-directory: ${{ github.workspace }}/ext/dramsys
|
working-directory: ${{ github.workspace }}/ext/dramsys
|
||||||
run: git clone https://github.com/tukl-msd/DRAMSys --branch v5.0 --depth 1 DRAMSys
|
run: git clone https://github.com/tukl-msd/DRAMSys --branch v5.0 --depth 1 DRAMSys
|
||||||
|
|
||||||
# gem5 is built separately because it depends on the DRAMSys library
|
# gem5 is built separately because it depends on the DRAMSys library
|
||||||
- name: Build gem5
|
- name: Build gem5
|
||||||
working-directory: ${{ github.workspace }}
|
working-directory: ${{ github.workspace }}
|
||||||
run: scons build/ALL/gem5.opt -j $(nproc)
|
run: scons build/ALL/gem5.opt -j $(nproc)
|
||||||
|
|||||||
Reference in New Issue
Block a user