Skip to content

Commit

Permalink
github actions - remove fiam arm_sdk action and revert to Makefile's … (
Browse files Browse the repository at this point in the history
#884)

github actions - remove fiam arm_sdk action and revert to Makefile's arm_sdk with caching

Co-authored-by: Mathias Rasmussen <[email protected]>
  • Loading branch information
nerdCopter and mathiasvr authored May 4, 2023
1 parent 1ff18fc commit 2e7cc1d
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,21 @@ jobs:
run: function curl () { command curl --connect-timeout 30 --retry 10 "$@" ; }

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Cache build toolchain
uses: actions/cache@v3
id: cache-toolchain
with:
path: tools
key: ${{ runner.os }}-${{ hashFiles('make/tools.mk') }}

- name: Download and install toolchain
if: steps.cache-toolchain.outputs.cache-hit != 'true'
run: make arm_sdk_install

- name: Take the trash out
run: |
sudo swapoff -a
Expand All @@ -50,12 +61,6 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2

- name: Setup Toolchain
uses: fiam/arm-none-eabi-gcc@v1
#uses: emuflight/arm-none-eabi-gcc@retry_timeout
with:
release: '9-2020-q2' # The arm-none-eabi-gcc release to use.

# EmuFlight version
- name: Get code version
id: get_version
Expand Down

0 comments on commit 2e7cc1d

Please sign in to comment.