remove usage of linkermap, update checkout to v4
This commit is contained in:
16
.github/workflows/build_aarch64.yml
vendored
16
.github/workflows/build_aarch64.yml
vendored
@@ -41,13 +41,7 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Set Toolchain URL
|
- name: Set Toolchain URL
|
||||||
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
|
||||||
@@ -74,11 +68,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
for ex in `ls -d examples/device/*/`; do \
|
|
||||||
find ${ex} -name *.map -print -quit | \
|
|
||||||
xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'; \
|
|
||||||
done
|
|
||||||
|
19
.github/workflows/build_arm.yml
vendored
19
.github/workflows/build_arm.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_arm.yml'
|
- '.github/workflows/build_arm.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_arm.yml'
|
- '.github/workflows/build_arm.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -54,25 +56,10 @@ jobs:
|
|||||||
release: '11.2-2022.02'
|
release: '11.2-2022.02'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: python3 tools/get_deps.py ${{ matrix.family }}
|
run: python3 tools/get_deps.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
# find -quit to only print linkermap of 1 board per example
|
|
||||||
for ex in `ls -d examples/*/*/`
|
|
||||||
do
|
|
||||||
find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
|
|
||||||
done
|
|
||||||
|
4
.github/workflows/build_esp.yml
vendored
4
.github/workflows/build_esp.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
|||||||
run: docker pull espressif/idf:latest
|
run: docker pull espressif/idf:latest
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32.py ${{ matrix.board }}
|
run: docker run --rm -v $PWD:/project -w /project espressif/idf:latest python3 tools/build_esp32.py ${{ matrix.board }}
|
||||||
@@ -91,7 +91,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Checkout test/hil
|
- name: Checkout test/hil
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
sparse-checkout: test/hil
|
sparse-checkout: test/hil
|
||||||
|
|
||||||
|
4
.github/workflows/build_iar.yml
vendored
4
.github/workflows/build_iar.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_iar.yml'
|
- '.github/workflows/build_iar.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_iar.yml'
|
- '.github/workflows/build_iar.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -41,7 +43,7 @@ jobs:
|
|||||||
mkdir -p "${{ github.workspace }}"
|
mkdir -p "${{ github.workspace }}"
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: python3 tools/get_deps.py ${{ matrix.family }}
|
run: python3 tools/get_deps.py ${{ matrix.family }}
|
||||||
|
19
.github/workflows/build_msp430.yml
vendored
19
.github/workflows/build_msp430.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_msp430.yml'
|
- '.github/workflows/build_msp430.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_msp430.yml'
|
- '.github/workflows/build_msp430.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -39,13 +41,7 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Set Toolchain URL
|
- name: Set Toolchain URL
|
||||||
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=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
|
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=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
|
||||||
@@ -72,12 +68,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
# find -quit to only print linkermap of 1 board per example
|
|
||||||
for ex in `ls -d examples/device/*/`
|
|
||||||
do
|
|
||||||
find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
|
|
||||||
done
|
|
||||||
|
19
.github/workflows/build_renesas.yml
vendored
19
.github/workflows/build_renesas.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_renesas.yml'
|
- '.github/workflows/build_renesas.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_renesas.yml'
|
- '.github/workflows/build_renesas.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -38,13 +40,7 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Set Toolchain URL
|
- 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
|
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
|
||||||
@@ -72,12 +68,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
# find -quit to only print linkermap of 1 board per example
|
|
||||||
for ex in `ls -d examples/device/*/`
|
|
||||||
do
|
|
||||||
find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
|
|
||||||
done
|
|
||||||
|
19
.github/workflows/build_riscv.yml
vendored
19
.github/workflows/build_riscv.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_riscv.yml'
|
- '.github/workflows/build_riscv.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/build_riscv.yml'
|
- '.github/workflows/build_riscv.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -40,13 +42,7 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout hathach/linkermap
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
repository: hathach/linkermap
|
|
||||||
path: linkermap
|
|
||||||
|
|
||||||
- name: Set Toolchain URL
|
- name: Set Toolchain URL
|
||||||
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/download/v10.1.0-1.1/xpack-riscv-none-embed-gcc-10.1.0-1.1-linux-x64.tar.gz
|
run: echo >> $GITHUB_ENV TOOLCHAIN_URL=https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/download/v10.1.0-1.1/xpack-riscv-none-embed-gcc-10.1.0-1.1-linux-x64.tar.gz
|
||||||
@@ -73,12 +69,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: python3 tools/build_make.py ${{ matrix.family }}
|
run: python3 tools/build_make.py ${{ matrix.family }}
|
||||||
|
|
||||||
- name: Linker Map
|
|
||||||
run: |
|
|
||||||
pip install linkermap/
|
|
||||||
# find -quit to only print linkermap of 1 board per example
|
|
||||||
for ex in `ls -d examples/device/*/`
|
|
||||||
do
|
|
||||||
find ${ex} -name *.map -print -quit | xargs -I % sh -c 'echo "::group::%"; linkermap -v %; echo "::endgroup::"'
|
|
||||||
done
|
|
||||||
|
2
.github/workflows/build_win_mac.yml
vendored
2
.github/workflows/build_win_mac.yml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
release: '10.3-2021.10'
|
release: '10.3-2021.10'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: python3 tools/get_deps.py stm32f4
|
run: python3 tools/get_deps.py stm32f4
|
||||||
|
8
.github/workflows/cmake_arm.yml
vendored
8
.github/workflows/cmake_arm.yml
vendored
@@ -8,6 +8,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/cmake_arm.yml'
|
- '.github/workflows/cmake_arm.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
@@ -16,6 +17,7 @@ on:
|
|||||||
- 'examples/**'
|
- 'examples/**'
|
||||||
- 'lib/**'
|
- 'lib/**'
|
||||||
- 'hw/**'
|
- 'hw/**'
|
||||||
|
- 'tools/get_deps.py'
|
||||||
- '.github/workflows/cmake_arm.yml'
|
- '.github/workflows/cmake_arm.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
@@ -68,11 +70,11 @@ jobs:
|
|||||||
run: sudo apt install -y ninja-build
|
run: sudo apt install -y ninja-build
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout pico-sdk for rp2040
|
- name: Checkout pico-sdk for rp2040
|
||||||
if: matrix.family == 'rp2040'
|
if: matrix.family == 'rp2040'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: raspberrypi/pico-sdk
|
repository: raspberrypi/pico-sdk
|
||||||
ref: develop
|
ref: develop
|
||||||
@@ -144,7 +146,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Checkout test/hil
|
- name: Checkout test/hil
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
sparse-checkout: test/hil
|
sparse-checkout: test/hil
|
||||||
|
|
||||||
|
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install ARM GCC
|
- name: Install ARM GCC
|
||||||
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
uses: carlosperate/arm-none-eabi-gcc-action@v1
|
||||||
|
2
.github/workflows/pre-commit.yml
vendored
2
.github/workflows/pre-commit.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
ruby-version: '3.0'
|
ruby-version: '3.0'
|
||||||
|
|
||||||
- name: Checkout TinyUSB
|
- name: Checkout TinyUSB
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Get Dependencies
|
- name: Get Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/trigger.yml
vendored
2
.github/workflows/trigger.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Push to tinyusb_src
|
- name: Push to tinyusb_src
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user