-
Notifications
You must be signed in to change notification settings - Fork 4
84 lines (64 loc) · 1.92 KB
/
vast-all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File: vast-all.yml
# Author: Ryoichi Ando ([email protected])
# License: Apache v2.0
name: All Examples
on:
workflow_dispatch:
env:
VAST_API_KEY: ${{ secrets.VAST_API_KEY }}
jobs:
headless:
runs-on: ubuntu-latest
steps:
- name: check out repo
uses: actions/checkout@v3
- name: provision vast
timeout-minutes: 10
run: |
bash .github/workflows/vast/provision.sh $VAST_API_KEY
- name: transfer files
timeout-minutes: 5
run: |
bash /tmp/vast-ci/rsync-command.sh
- name: warm up
timeout-minutes: 10
run: |
bash .github/workflows/vast/run.sh warmup
bash /tmp/vast-ci/ssh-command.sh "cd /root/ppf-contact-solver/examples; touch .CLI"
- name: build
run: |
bash .github/workflows/vast/run.sh build
- name: convert
run: |
bash .github/workflows/vast/run.sh convert
- name: hang
run: |
bash .github/workflows/vast/run.sh run hang.py
- name: needle
run: |
bash .github/workflows/vast/run.sh run needle.py
- name: trampoline
run: |
bash .github/workflows/vast/run.sh run trampoline.py
- name: curtain
run: |
bash .github/workflows/vast/run.sh run curtain.py
- name: drape
run: |
bash .github/workflows/vast/run.sh run drape.py
- name: trapped
run: |
bash .github/workflows/vast/run.sh run trapped.py
- name: friction
run: |
bash .github/workflows/vast/run.sh run friction.py
- name: cards
run: |
bash .github/workflows/vast/run.sh run cards.py
- name: stack
run: |
bash .github/workflows/vast/run.sh run stack.py
- name: shutdown
if: always()
run: |
bash /tmp/vast-ci/delete-instance.sh