-
Notifications
You must be signed in to change notification settings - Fork 5
64 lines (53 loc) · 1.4 KB
/
demo_ci.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
name: Demo
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
base:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
run: |
sudo apt install -y qemu-utils qemu-system-x86 python3-yaml
- name: Run tortillas
run: |
python3 -m tortillas -S ./example
# Upload logs as test artifacts
# - uses: actions/upload-artifact@v3
# if: always()
# with:
# name: test_logs
# path: /tmp/sweb/tortillas/**/out.log
- name: Adding markdown
if: always()
run: cat /tmp/sweb/tortillas_summary.md >> $GITHUB_STEP_SUMMARY
panic:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout Sweb
uses: actions/checkout@v3
with:
repository: PaideiaDilemma/tortillas-sweb
ref: panic
path: sweb
- name: Install dependencies
run: |
sudo apt install -y qemu-utils qemu-system-x86 python3-yaml
- name: Run tortillas
run: |
! python3 -m tortillas -S ./sweb
- name: Adding markdown
if: always()
run: cat /tmp/sweb/tortillas_summary.md >> $GITHUB_STEP_SUMMARY