change armgcc setup to manual download due to issue with action (#3377)

* change armgcc setup to manual download due to issue with action
* build windows, macos with cmake as well
This commit is contained in:
Ha Thach
2025-11-29 01:41:30 +07:00
committed by GitHub
parent 583fe844e9
commit 7ee288bc22
6 changed files with 44 additions and 26 deletions

View File

@ -15,7 +15,6 @@ on:
- '.github/workflows/build_util.yml'
- '.github/workflows/ci_set_matrix.py'
pull_request:
branches: [ master ]
paths:
- 'src/**'
- 'examples/**'
@ -49,7 +48,7 @@ jobs:
id: set-matrix-json
run: |
# build matrix
MATRIX_JSON=$(python .github/workflows/ci_set_matrix.py)
MATRIX_JSON=$(python .github/workflows/ci_set_matrix.py)/
echo "matrix=$MATRIX_JSON"
echo "matrix=$MATRIX_JSON" >> $GITHUB_OUTPUT
# hil matrix
@ -127,19 +126,20 @@ jobs:
one-per-family: true
# ---------------------------------------
# Build Make on Windows/MacOS
# Build Make/CMake on Windows/MacOS
# ---------------------------------------
make-os:
build-os:
if: github.event_name == 'pull_request'
uses: ./.github/workflows/build_util.yml
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
build-system: [ 'make', 'cmake' ]
with:
os: ${{ matrix.os }}
build-system: 'make'
toolchain: 'arm-gcc'
build-system: ${{ matrix.build-system }}
toolchain: 'arm-gcc-${{ matrix.os }}'
build-args: '["stm32h7"]'
one-per-family: true