clean up
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -51,15 +51,15 @@ jobs:
|
|||||||
# Build CMake
|
# Build CMake
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
cmake:
|
cmake:
|
||||||
if: false
|
# if: false
|
||||||
needs: set-matrix
|
needs: set-matrix
|
||||||
uses: ./.github/workflows/build_util.yml
|
uses: ./.github/workflows/build_util.yml
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
- 'aarch64-gcc'
|
|
||||||
# - 'arm-clang' is built by circle-ci
|
# - 'arm-clang' is built by circle-ci
|
||||||
|
- 'aarch64-gcc'
|
||||||
- 'arm-gcc'
|
- 'arm-gcc'
|
||||||
- 'msp430-gcc'
|
- 'msp430-gcc'
|
||||||
- 'riscv-gcc'
|
- 'riscv-gcc'
|
||||||
@@ -81,9 +81,9 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
- 'aarch64-gcc'
|
|
||||||
# 'arm-clang' is built by circle-ci
|
# 'arm-clang' is built by circle-ci
|
||||||
#- 'arm-gcc'
|
- 'aarch64-gcc'
|
||||||
|
- 'arm-gcc'
|
||||||
- 'msp430-gcc'
|
- 'msp430-gcc'
|
||||||
- 'riscv-gcc'
|
- 'riscv-gcc'
|
||||||
- 'rx-gcc'
|
- 'rx-gcc'
|
||||||
@@ -114,7 +114,7 @@ jobs:
|
|||||||
# Build Espressif
|
# Build Espressif
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
espressif:
|
espressif:
|
||||||
if: false
|
# if: false
|
||||||
uses: ./.github/workflows/build_util.yml
|
uses: ./.github/workflows/build_util.yml
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -134,8 +134,8 @@ jobs:
|
|||||||
# Build IAR on HFP self-hosted
|
# Build IAR on HFP self-hosted
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
arm-iar:
|
arm-iar:
|
||||||
if: false
|
# if: false
|
||||||
# if: github.repository_owner == 'hathach'
|
if: github.repository_owner == 'hathach'
|
||||||
needs: set-matrix
|
needs: set-matrix
|
||||||
runs-on: [self-hosted, Linux, X64, hifiphile]
|
runs-on: [self-hosted, Linux, X64, hifiphile]
|
||||||
env:
|
env:
|
||||||
|
67
.github/workflows/build_renesas.yml
vendored
67
.github/workflows/build_renesas.yml
vendored
@@ -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 }}
|
|
Reference in New Issue
Block a user