-
Notifications
You must be signed in to change notification settings - Fork 51
42 lines (40 loc) · 1.11 KB
/
main.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
name: Build
on: [pull_request, push]
jobs:
linux-build:
name: Build and test on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Python 3.x (required for the testsuite)
uses: actions/setup-python@v2
with:
python-version: '3.x'
- run: pip3 install pycodestyle
- name: Python stylecheck
run: pycodestyle . --exclude=examples
- uses: ada-actions/toolchain@ce2021
with:
distrib: community
- uses: ada-actions/toolchain@ce2021
with:
distrib: community
target: arm-elf
- run: python3 $PWD/install.py --arch=arm-eabi
win-build:
name: Build and test on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- uses: ada-actions/toolchain@ce2021
with:
distrib: community
- uses: ada-actions/toolchain@ce2021
with:
distrib: community
target: arm-elf
- name: Install Python 3.x (required for the testsuite)
uses: actions/setup-python@v2
with:
python-version: '3.x'
- run: python $PWD/install.py --arch=arm-eabi