Skip to content

Commit dd60ab6

Browse files
authored
Increase running timeout and clean up DaCapo cache job (#212)
1 parent 21eb88f commit dd60ab6

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/configs/base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ suites:
5555
xalan: 9
5656
zxing: 66
5757
timing_iteration: 1
58-
timeout: 300
58+
timeout: 7200
5959

6060
overrides:
6161
invocations: 1

.github/workflows/main.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
with:
6060
path: dacapo/dacapo-evaluation-git-04132797.zip
6161
key: dacapo-chopin-git-04132797
62+
lookup-only: true
6263
- name: Install DaCapo Chopin git-04132797
6364
if: steps.dacapo-04132797.outputs.cache-hit != 'true'
6465
run: |
@@ -108,13 +109,24 @@ jobs:
108109
pip3 install running-ng
109110
sudo apt-get update -y
110111
sudo apt-get install -y build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev libcups2-dev libasound2-dev libxrandr-dev
111-
- name: Cache DaCapo Chopin git-04132797
112+
- name: Fetch DaCapo Chopin git-04132797 cache
112113
id: dacapo-04132797
113114
uses: actions/cache@v3
114115
with:
115116
path: dacapo/dacapo-evaluation-git-04132797.zip
116117
key: dacapo-chopin-git-04132797
117-
fail-on-cache-miss: true # We should never have a cache miss here as we cache DaCapo in an earlier job
118+
# fail-on-cache-miss: true # We should never have a cache miss here as we cache DaCapo in an earlier job
119+
# Temporarily change this to false in case the cache download gets
120+
# stuck -- if the cache download is stuck then we go straight to
121+
# upstream and fetch the zip file
122+
fail-on-cache-miss: false
123+
- name: Install DaCapo Chopin git-04132797
124+
if: steps.dacapo-04132797.outputs.cache-hit != 'true'
125+
run: |
126+
mkdir -p dacapo
127+
pushd dacapo
128+
wget -q "https://download.dacapobench.org/dacapo-evaluation-git-04132797.zip" -O dacapo-evaluation-git-04132797.zip
129+
popd
118130
- name: Unzip DaCapo Chopin git-04132797
119131
run: |
120132
pushd dacapo

0 commit comments

Comments
 (0)