Skip to content

Commit c00a768

Browse files
committed
gh: Simplify one-line arguments in prerelease action.
1 parent 43a2485 commit c00a768

File tree

1 file changed

+14
-20
lines changed

1 file changed

+14
-20
lines changed

.github/workflows/prerelease.yml

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,10 @@ jobs:
9595
name: VAST
9696

9797
- name: Unpack VAST
98-
run: |
99-
mkdir vast && tar -xf VAST-* -C vast --strip-components=1
98+
run: mkdir vast && tar -xf VAST-* -C vast --strip-components=1
10099

101100
- name: Export vast binaries
102-
run: |
103-
echo "${PWD}/vast/bin/" >> $GITHUB_PATH
101+
run: echo "${PWD}/vast/bin/" >> $GITHUB_PATH
104102

105103
- name: Install test suite dependencies
106104
run: |
@@ -162,8 +160,7 @@ jobs:
162160
merge-multiple: true
163161

164162
- name: Install evaluator dependencies
165-
run: |
166-
pip3 install pandas scipy tabulate
163+
run: pip3 install pandas scipy tabulate
167164

168165
- name: Clone test suite repository
169166
uses: actions/checkout@v4
@@ -213,21 +210,18 @@ jobs:
213210
name: VAST
214211

215212
- name: Unpack VAST
216-
run: |
217-
mkdir vast && tar -xf VAST-* -C vast --strip-components=1
213+
run: mkdir vast && tar -xf VAST-* -C vast --strip-components=1
218214

219215
- name: Export vast binaries
220-
run: |
221-
echo "${PWD}/vast/bin/" >> $GITHUB_PATH
216+
run: echo "${PWD}/vast/bin/" >> $GITHUB_PATH
222217

223218
- name: Install test suite dependencies
224219
run: |
225220
apt-get update
226221
apt-get -y install git
227222
228223
- name: Clone test suite repository
229-
run: |
230-
git clone --depth=1 https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks.git
224+
run: git clone --depth=1 https://gitlab.com/sosy-lab/benchmarking/sv-benchmarks.git
231225

232226
- name: Clone patch repository
233227
uses: actions/checkout@v4
@@ -239,12 +233,10 @@ jobs:
239233

240234
- name: Apply patch
241235
working-directory: sv-bench-patch
242-
run: |
243-
./apply
236+
run: ./apply
244237

245238
- name: Run benchmarks
246-
run: |
247-
sh ./sv-bench-patch/compile-all.sh -t ${{ matrix.vast-target }} -d ./sv-benchmarks
239+
run: sh ./sv-bench-patch/compile-all.sh -t ${{ matrix.vast-target }} -d ./sv-benchmarks
248240

249241
- name: Upload results
250242
uses: actions/upload-artifact@v4
@@ -266,8 +258,7 @@ jobs:
266258
pattern: results-sv-*
267259

268260
- name: Install evaluator dependencies
269-
run: |
270-
pip3 install pandas scipy tabulate
261+
run: pip3 install pandas scipy tabulate
271262

272263
- name: Clone patch repository
273264
uses: actions/checkout@v4
@@ -289,8 +280,7 @@ jobs:
289280
uses: actions/upload-artifact@v4
290281
with:
291282
name: sv-comp-results
292-
path: |
293-
./sv-comp-results.md
283+
path: ./sv-comp-results.md
294284
#
295285
# Webpage build
296286
#
@@ -329,8 +319,12 @@ jobs:
329319
path: sv-comp-results
330320

331321
- name: Build Pages
322+
<<<<<<< HEAD
332323
run: |
333324
sh ./www/setup.sh _site ./builds/ci/
325+
=======
326+
run: sh ./www/setup.sh _site ./builds/ninja-multi-default/
327+
>>>>>>> 42b7bb7c (gh: Simplify one-line arguments in prerelease action.)
334328

335329
- name: Deploy docs
336330
uses: mhausenblas/mkdocs-deploy-gh-pages@master

0 commit comments

Comments
 (0)