summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-06-06 16:19:02 +0700
committerhathach <[email protected]>2024-06-06 16:19:02 +0700
commit8df372ae7a4c9dfef1d23dc9a4562df482a4d720 (patch)
treed25a636df141bfc21e16ee3206c98996a9bfd1b0
parent7771cae94cd1210cd167a4e3e0a654f8a65ab87a (diff)
clean up
-rw-r--r--.github/workflows/build.yml14
-rw-r--r--.github/workflows/build_renesas.yml67
2 files changed, 7 insertions, 74 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1c0ca104a..712c7dd43 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -51,15 +51,15 @@ jobs:
# Build CMake
# ---------------------------------------
cmake:
- if: false
+ # if: false
needs: set-matrix
uses: ./.github/workflows/build_util.yml
strategy:
fail-fast: false
matrix:
toolchain:
- - 'aarch64-gcc'
# - 'arm-clang' is built by circle-ci
+ - 'aarch64-gcc'
- 'arm-gcc'
- 'msp430-gcc'
- 'riscv-gcc'
@@ -81,9 +81,9 @@ jobs:
fail-fast: false
matrix:
toolchain:
- - 'aarch64-gcc'
# 'arm-clang' is built by circle-ci
- #- 'arm-gcc'
+ - 'aarch64-gcc'
+ - 'arm-gcc'
- 'msp430-gcc'
- 'riscv-gcc'
- 'rx-gcc'
@@ -114,7 +114,7 @@ jobs:
# Build Espressif
# ---------------------------------------
espressif:
- if: false
+ # if: false
uses: ./.github/workflows/build_util.yml
strategy:
fail-fast: false
@@ -134,8 +134,8 @@ jobs:
# Build IAR on HFP self-hosted
# ---------------------------------------
arm-iar:
- if: false
- # if: github.repository_owner == 'hathach'
+ # if: false
+ if: github.repository_owner == 'hathach'
needs: set-matrix
runs-on: [self-hosted, Linux, X64, hifiphile]
env:
diff --git a/.github/workflows/build_renesas.yml b/.github/workflows/build_renesas.yml
deleted file mode 100644
index 085a1eda7..000000000
--- a/.github/workflows/build_renesas.yml
+++ /dev/null
@@ -1,67 +0,0 @@
-name: Build Renesas
-
-on:
- workflow_dispatch:
- push:
- paths:
- - 'src/**'
- - 'examples/**'
- - 'lib/**'
- - 'hw/**'
- - 'tools/get_deps.py'
- - '.github/workflows/build_renesas.yml'
- pull_request:
- branches: [ master ]
- paths:
- - 'src/**'
- - 'examples/**'
- - 'lib/**'
- - 'hw/**'
- - 'tools/get_deps.py'
- - '.github/workflows/build_renesas.yml'
-
-concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
-
-jobs:
- build-rx:
- if: false
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- family:
- # Alphabetical order
- - 'rx'
- steps:
- - name: Checkout TinyUSB
- uses: actions/checkout@v4
-
- - name: Set Toolchain URL
- run: echo >> $GITHUB_ENV TOOLCHAIN_URL=http://gcc-renesas.com/downloads/get.php?f=rx/8.3.0.202004-gnurx/gcc-8.3.0.202004-GNURX-ELF.run
-
- - name: Cache Toolchain
- uses: actions/cache@v4
- id: cache-toolchain
- with:
- path: ~/cache/
- key: ${{ runner.os }}-21-03-30-${{ env.TOOLCHAIN_URL }}
-
- - name: Install Toolchain
- if: steps.cache-toolchain.outputs.cache-hit != 'true'
- run: |
- mkdir -p ~/cache/toolchain/gnurx
- wget --progress=dot:mega $TOOLCHAIN_URL -O toolchain.run
- chmod +x toolchain.run
- ./toolchain.run -p ~/cache/toolchain/gnurx -y
-
- - name: Set Toolchain Path
- run: echo >> $GITHUB_PATH `echo ~/cache/toolchain/*/bin`
-
- - name: Get Dependencies
- run: |
- python3 tools/get_deps.py ${{ matrix.family }}
-
- - name: Build
- run: python3 tools/build.py -s make ${{ matrix.family }}