Skip to content

Commit

Permalink
Added GitHub action to build all solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbond7 committed Dec 21, 2023
1 parent 260ad8a commit 8b868c6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-target.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: c-501

on: [push]

jobs:
build:
runs-on: ubuntu-latest
environment: build
container:
image: feabhas/ubuntu-projects:latest
options: -u 1001
steps:
- name: checkout
uses: actions/checkout@v4
with:
sparse-checkout: solutions
fetch-depth: 1
- name: build solutions
run: |
TOOLCHAIN=$(dirname $(find /opt/arm*/bin -name 'arm-none-eabi-gcc'))
PATH="$TOOLCHAIN:$PATH"
cp -r /home/feabhas/projects/cmake-target .
cd cmake-target
bash ./build-one.sh --all

0 comments on commit 8b868c6

Please sign in to comment.