CI: EXPERIMENT: Unleash the compilers of yore.

This commit is contained in:
Phil Howard 2023-01-25 22:01:07 +00:00 committed by Phil Howard
parent 092fbe472f
commit cd7fa10dc6
2 changed files with 39 additions and 4 deletions

View File

@ -55,10 +55,28 @@ jobs:
submodules: false # lwip breaks audio submodule fetching
# Linux deps
- name: Install deps
- name: Install CCache
if: runner.os == 'Linux'
run: |
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
sudo apt update && sudo apt install ccache
python3 -m pip install pillow
- name: Download Toolchain
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
workflow_conclusion: success
branch: main
repo: gadgetoid/arm-gnu-toolchain-build
if_no_artifact_found: fail
- name: Unpack Toolchain & Add to PATH
run: |
tar xf */gcc-*.tar.bz2 -C .
cd gcc*/bin
pwd >> $GITHUB_PATH
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build

View File

@ -113,10 +113,27 @@ jobs:
restore-keys: |
workspace-micropython-${{env.MICROPYTHON_VERSION}}
- name: Install Compiler & CCache
- name: Install CCache
if: runner.os == 'Linux'
run: |
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
sudo apt update && sudo apt install ccache
- name: Download Toolchain
id: download-artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
workflow_conclusion: success
branch: main
repo: gadgetoid/arm-gnu-toolchain-build
if_no_artifact_found: fail
- name: Unpack Toolchain & Add to PATH
run: |
tar xf */gcc-*.tar.bz2 -C .
cd gcc*/bin
pwd >> $GITHUB_PATH
- uses: actions/checkout@v3
with: