Skip to content

Commit

Permalink
Correct compilers for release
Browse files Browse the repository at this point in the history
  • Loading branch information
dalegaard committed Jan 13, 2022
1 parent 3e1ad3f commit 8e4991a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
os: macos-11
raw_name: klipper_estimator
asset_name: klipper_estimator_osx
- target: armv7-unknown-linux-gnueabihf
- target: armv7-unknown-linux-musleabihf
os: ubuntu-latest
raw_name: klipper_estimator
asset_name: klipper_estimator_rpi
Expand All @@ -33,11 +33,13 @@ jobs:

env:
RUST_BACKTRACE: full
CARGO_TARGET_ARMV7_UNKNOWN_LINUX_MUSLEABIHF_LINKER: arm-linux-gnueabihf-ld
CC_armv7_unknown_linux_musleabihf: arm-linux-gnueabihf-gcc

steps:
- uses: actions/checkout@v2
- name: Install Pi cross compiler
if: matrix.target == 'armv7-unknown-linux-gnueabihf'
if: matrix.target == 'armv7-unknown-linux-musleabihf'
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf
Expand All @@ -46,11 +48,11 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install musl-tools
- name: Setup MSYS2
- name: Setup mingw cross compiler
if: matrix.target == 'x86_64-pc-windows-gnu'
uses: msys2/setup-msys2@v2
with:
update: true
run: |
sudo apt-get update
sudo apt-get install gcc-mingw-w64-x86-64
- uses: actions/cache@v2
with:
path: |
Expand Down

0 comments on commit 8e4991a

Please sign in to comment.