mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-31 16:20:57 +00:00
try to build rx using build_util
This commit is contained in:
parent
90deeddf3d
commit
302445e64f
@ -24,7 +24,13 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p ~/cache/${{ inputs.toolchain }}
|
mkdir -p ~/cache/${{ inputs.toolchain }}
|
||||||
wget --progress=dot:giga ${{ inputs.toolchain_url }} -O toolchain.tar.gz
|
wget --progress=dot:giga ${{ inputs.toolchain_url }} -O toolchain.tar.gz
|
||||||
tar -C ~/cache/${{ inputs.toolchain }} -xaf toolchain.tar.gz
|
if [[ ${{ inputs.toolchain }} == rx-gcc ]]; then
|
||||||
|
mv toolchain.tar.gz toolchain.run
|
||||||
|
chmod +x toolchain.run
|
||||||
|
./toolchain.run -p ~/cache/${{ inputs.toolchain }} -y
|
||||||
|
else
|
||||||
|
tar -C ~/cache/${{ inputs.toolchain }} -xaf toolchain.tar.gz
|
||||||
|
endif
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Set Toolchain Path
|
- name: Set Toolchain Path
|
||||||
|
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -51,6 +51,7 @@ jobs:
|
|||||||
# Build CMake
|
# Build CMake
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
cmake:
|
cmake:
|
||||||
|
if: false
|
||||||
needs: set-matrix
|
needs: set-matrix
|
||||||
uses: ./.github/workflows/build_util.yml
|
uses: ./.github/workflows/build_util.yml
|
||||||
strategy:
|
strategy:
|
||||||
@ -58,7 +59,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
- 'aarch64-gcc'
|
- 'aarch64-gcc'
|
||||||
# - 'arm-clang' # clang is built by circle-ci
|
# - 'arm-clang' is built by circle-ci
|
||||||
- 'arm-gcc'
|
- 'arm-gcc'
|
||||||
- 'msp430-gcc'
|
- 'msp430-gcc'
|
||||||
- 'riscv-gcc'
|
- 'riscv-gcc'
|
||||||
@ -73,7 +74,7 @@ jobs:
|
|||||||
# Build Make
|
# Build Make
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
make:
|
make:
|
||||||
#if: github.event_name == 'pull_request'
|
# if: false
|
||||||
needs: set-matrix
|
needs: set-matrix
|
||||||
uses: ./.github/workflows/build_util.yml
|
uses: ./.github/workflows/build_util.yml
|
||||||
strategy:
|
strategy:
|
||||||
@ -81,10 +82,11 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
toolchain:
|
toolchain:
|
||||||
- 'aarch64-gcc'
|
- 'aarch64-gcc'
|
||||||
# - 'arm-clang' # clang is built by circle-ci
|
# 'arm-clang' is built by circle-ci
|
||||||
- 'arm-gcc'
|
#- 'arm-gcc'
|
||||||
- 'msp430-gcc'
|
- 'msp430-gcc'
|
||||||
- 'riscv-gcc'
|
- 'riscv-gcc'
|
||||||
|
- 'rx-gcc'
|
||||||
with:
|
with:
|
||||||
build-system: 'make'
|
build-system: 'make'
|
||||||
toolchain: ${{ matrix.toolchain }}
|
toolchain: ${{ matrix.toolchain }}
|
||||||
@ -112,6 +114,7 @@ jobs:
|
|||||||
# Build Espressif
|
# Build Espressif
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
espressif:
|
espressif:
|
||||||
|
if: false
|
||||||
uses: ./.github/workflows/build_util.yml
|
uses: ./.github/workflows/build_util.yml
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -131,7 +134,8 @@ jobs:
|
|||||||
# Build IAR on HFP self-hosted
|
# Build IAR on HFP self-hosted
|
||||||
# ---------------------------------------
|
# ---------------------------------------
|
||||||
arm-iar:
|
arm-iar:
|
||||||
if: github.repository_owner == 'hathach'
|
if: false
|
||||||
|
# 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:
|
||||||
|
1
.github/workflows/build_renesas.yml
vendored
1
.github/workflows/build_renesas.yml
vendored
@ -26,6 +26,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-rx:
|
build-rx:
|
||||||
|
if: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
4
.github/workflows/ci_set_matrix.py
vendored
4
.github/workflows/ci_set_matrix.py
vendored
@ -7,7 +7,8 @@ toolchain_list = {
|
|||||||
"arm-iar": "",
|
"arm-iar": "",
|
||||||
"arm-gcc": "",
|
"arm-gcc": "",
|
||||||
"msp430-gcc": "http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2",
|
"msp430-gcc": "http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2",
|
||||||
"riscv-gcc": "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64.tar.gz"
|
"riscv-gcc": "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64.tar.gz",
|
||||||
|
"rx-gcc": "http://gcc-renesas.com/downloads/get.php?f=rx/8.3.0.202004-gnurx/gcc-8.3.0.202004-GNURX-ELF.run",
|
||||||
}
|
}
|
||||||
|
|
||||||
# family: [supported toolchain]
|
# family: [supported toolchain]
|
||||||
@ -27,6 +28,7 @@ family_list = {
|
|||||||
"nrf": ["arm-gcc", "arm-clang"],
|
"nrf": ["arm-gcc", "arm-clang"],
|
||||||
"ra": ["arm-gcc"],
|
"ra": ["arm-gcc"],
|
||||||
"rp2040": ["arm-gcc"],
|
"rp2040": ["arm-gcc"],
|
||||||
|
"rx": ["rx-gcc"],
|
||||||
"samd11 samd21 saml2x": ["arm-gcc", "arm-clang"],
|
"samd11 samd21 saml2x": ["arm-gcc", "arm-clang"],
|
||||||
"samd5x_e5x samg": ["arm-gcc", "arm-clang"],
|
"samd5x_e5x samg": ["arm-gcc", "arm-clang"],
|
||||||
"stm32f0 stm32f1 stm32f2 stm32f3": ["arm-gcc", "arm-clang", "arm-iar"],
|
"stm32f0 stm32f1 stm32f2 stm32f3": ["arm-gcc", "arm-clang", "arm-iar"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user