-
-
Notifications
You must be signed in to change notification settings - Fork 110
39 lines (35 loc) · 1 KB
/
Copy pathc-cpp.yml
File metadata and controls
39 lines (35 loc) · 1 KB
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
name: Build H3
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install arm-none-eabi v15
run: |
set -e
TOOLCHAIN_URL="https://developer.arm.com/-/media/Files/downloads/gnu/15.2.rel1/binrel/arm-gnu-toolchain-15.2.rel1-x86_64-arm-none-eabi.tar.xz"
TOOLCHAIN_DIR="/opt/arm-gnu-toolchain-15.2.rel1-x86_64-arm-none-eabi"
sudo mkdir -p /opt
wget -qO /tmp/arm-toolchain.tar.xz "$TOOLCHAIN_URL"
sudo tar -xJf /tmp/arm-toolchain.tar.xz -C /opt
echo "$TOOLCHAIN_DIR/bin" >> "$GITHUB_PATH"
- name: version
run: arm-none-eabi-g++ --version
- name: Install U-Boot tools
run: sudo apt install u-boot-tools
- name: make
run: |
cd scripts
./build_h3-firmware.sh