-
Notifications
You must be signed in to change notification settings - Fork 3
59 lines (50 loc) · 1.2 KB
/
build.yaml
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
name: Simple Build Test
on:
push:
pull_request:
schedule:
- cron: '0 21 * * *' # Run it every day at 9pm UTC
jobs:
simple-build:
strategy:
fail-fast: false
matrix:
target:
- bootloader
- main
- adcs
- tests/hwtest/main
- tests/hwtest/adcs
python-version:
- '3.10'
- '3.11'
os:
- ubuntu-24.04
- ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Python version
run: |
python3 --version
- name: Checkout
uses: actions/checkout@v4
with:
path: scsat1-fsw
- name: Setup Zephyr
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: scsat1-fsw
toolchains: arm-zephyr-eabi
- name: Build
run: |
west build scsat1-fsw/${{ matrix.target }}
status-check:
runs-on: ubuntu-latest
needs: simple-build
steps:
- name: All test passed
run: echo Ready to merge