forked from zephyrproject-rtos/gsoc-2022-arduino-core
-
-
Notifications
You must be signed in to change notification settings - Fork 12
32 lines (27 loc) · 1005 Bytes
/
package_core.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
name: Package core
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
ZEPHYR_SDK_INSTALL_DIR: /opt/zephyr-sdk-0.16.8
steps:
- name: Install toolchain
working-directory: /opt
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends git cmake wget python3-pip ninja-build
wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.8/zephyr-sdk-0.16.8_linux-x86_64_minimal.tar.xz
tar xf zephyr-sdk-0.16.8_linux-x86_64_minimal.tar.xz && cd zephyr-sdk-0.16.8 && ./setup.sh -t arm-zephyr-eabi -c
- uses: actions/checkout@v4
- name: Initialize
run: |
./extra/bootstrap.sh
./extra/build_all.sh
./extra/package.sh `git describe --always`
mv ../arduino-core-zephyr-llext* .
- name: Archive core
uses: actions/upload-artifact@v3
with:
name: Core
path: arduino-core-zephyr-llext*