-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
baa5637
commit 828ce92
Showing
2 changed files
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,24 @@ | ||
name: Build Project | ||
on: | ||
push: | ||
paths: | ||
- "src/**" | ||
- "lib/**" | ||
pull_request: | ||
paths: | ||
- "src/**" | ||
- "lib/**" | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: windows-latest | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: "recursive" # Ensure submodules are checked out | ||
submodules: "recursive" # Checkout submodules | ||
|
||
- name: Set up MSYS2 | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
update: true | ||
install: mingw-w64-x86_64-arm-none-eabi-gcc make | ||
- name: Install ARM GCC Toolchain | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y gcc-arm-none-eabi make | ||
- name: Build project | ||
run: | | ||
make -j24 V=1 | ||
shell: msys2 {0} | ||
make -j$(nproc) V=1 | ||
shell: bash |
Submodule control-base
updated
5708 files