diff options
| author | hathach <[email protected]> | 2023-06-02 16:11:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-06-02 16:11:00 +0700 |
| commit | c2bc363f06b81e1758122167d58c40817c4d2e27 (patch) | |
| tree | d982460cfeefcfc7e0f71337d5f9ff54bff6d034 /.github | |
| parent | bb795e6a5eededff57f18336c11b84f5470d4e4e (diff) | |
build g0 g4 iar cmake
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build_iar.yml | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/.github/workflows/build_iar.yml b/.github/workflows/build_iar.yml index 3da5ed40f..da741bbcf 100644 --- a/.github/workflows/build_iar.yml +++ b/.github/workflows/build_iar.yml @@ -23,7 +23,7 @@ concurrency: cancel-in-progress: true jobs: - build-arm: + makefile: runs-on: [self-hosted, Linux, X64, hifiphile] strategy: fail-fast: false @@ -48,3 +48,29 @@ jobs: - name: Build run: python3 tools/build_family.py ${{ matrix.family }} CC=iccarm + + cmake: + runs-on: [self-hosted, Linux, X64, hifiphile] + strategy: + fail-fast: false + matrix: + family: + # Alphabetical order + # Note: bundle multiple families into a matrix since there is only one self-hosted instance can + # run IAR build. Too many matrix can hurt due to setup/teardown overhead. + - 'stm32g0 stm32g4' + steps: + - name: Clean workspace + run: | + echo "Cleaning up previous run" + rm -rf "${{ github.workspace }}" + mkdir -p "${{ github.workspace }}" + + - name: Checkout TinyUSB + uses: actions/checkout@v3 + + - name: Get Dependencies + run: python3 tools/get_deps.py ${{ matrix.family }} + + - name: Build + run: python3 tools/build_family.py ${{ matrix.family }} -DTOOLCHAIN=iccarm |
