From e611cc66b1573cdfd1cfb897b81f9a061d1c621c Mon Sep 17 00:00:00 2001 From: Melissa Jost Date: Fri, 18 Aug 2023 09:49:11 -0700 Subject: [PATCH] misc: ADD DRAMSys tests to our weekly tests This adds the DRAMSys tests to our weekly-tests.yaml file Change-Id: Ieb7903a3a7ffae6359b3de5f66e1dd65eb51fc80 --- .github/workflows/weekly-tests.yaml | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/.github/workflows/weekly-tests.yaml b/.github/workflows/weekly-tests.yaml index ba7038006c..d19110663a 100644 --- a/.github/workflows/weekly-tests.yaml +++ b/.github/workflows/weekly-tests.yaml @@ -77,3 +77,34 @@ jobs: path: output.zip retention-days: 7 - run: echo "This job's status is ${{ job.status }}." + + dramsys-tests: + runs-on: [self-hosted, linux, x64, build] + container: gcr.io/gem5-test/ubuntu-22.04_all-dependencies:latest + timeout-minutes: 4320 # 3 days + steps: + - uses: actions/checkout@v3 + with: + # Scheduled workflows run on the default branch by default. We + # therefore need to explicitly checkout the develop branch. + ref: develop + + - name: Checkout DRAMSys + working-directory: ${{ github.workspace }}/ext/dramsys + run: | + git clone https://github.com/tukl-msd/DRAMSys DRAMSys + cd DRAMSys + git checkout -b gem5 09f6dcbb91351e6ee7cadfc7bc8b29d97625db8f + git submodule update --init --recursive + + # gem5 is built separately because it depends on the DRAMSys library + - name: Build gem5 + working-directory: ${{ github.workspace }} + run: scons build/ALL/gem5.opt -j $(nproc) + + - name: Run DRAMSys Checks + working-directory: ${{ github.workspace }} + run: | + ./build/ALL/gem5.opt configs/example/gem5_library/dramsys/arm-hello-dramsys.py + ./build/ALL/gem5.opt configs/example/gem5_library/dramsys/dramsys-traffic.py + ./build/ALL/gem5.opt configs/example/dramsys.py