-
Notifications
You must be signed in to change notification settings - Fork 134
73 lines (69 loc) · 2.13 KB
/
test_openocd.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
name: Test OpenOCD
on:
workflow_call: {}
workflow_dispatch: {}
jobs:
run-macos-x86-host:
name: Test OpenOCD on MacOS-x86
runs-on: macos-13
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download files / artifacts from build job
uses: actions/download-artifact@v4
with:
name: openocd-macos-x86
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Run and check OpenOCD
run: chmod +x bin/openocd && python tools/test_openocd.py bin/openocd
run-macos-arm64-host:
name: Test OpenOCD on MacOS-arm64
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download files / artifacts from build job
uses: actions/download-artifact@v4
with:
name: openocd-macos-arm64
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Run and check OpenOCD
run: chmod +x bin/openocd && python tools/test_openocd.py bin/openocd
run-linux-host:
name: Test OpenOCD on Linux
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download files / artifacts from build job
uses: actions/download-artifact@v4
with:
name: openocd-linux
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Run and check OpenOCD
run: chmod +x bin/openocd && python tools/test_openocd.py bin/openocd
run-win-host:
name: Test OpenOCD on Windows
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download files / artifacts from build job
uses: actions/download-artifact@v4
with:
name: openocd-windows
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Run and check OpenOCD
run: python tools/test_openocd.py bin\openocd