This commit is contained in:
hathach
2024-06-06 16:19:02 +07:00
parent 7771cae94c
commit 8df372ae7a
2 changed files with 7 additions and 74 deletions

View File

@@ -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:

View File

@@ -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 }}