Merge branch 'master' into bdk-0.24

pull/1219/head
Byron Hambly 2 years ago committed by GitHub
commit dee51dc069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -59,15 +59,27 @@ jobs:
- uses: Swatinem/rust-cache@v2.2.0
- name: Install compiler for armhf arch
if: matrix.target == 'armv7-unknown-linux-gnueabihf'
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
target: armv7-unknown-linux-gnueabihf
override: true
- name: Build binary
run: |
cargo build -p swap --target ${{ matrix.target }}
if: matrix.target != 'armv7-unknown-linux-gnueabihf'
uses: actions-rs/cargo@v1
with:
command: build
args: -p swap --target ${{ matrix.target }}
- name: Build binary (armv7)
if: matrix.target == 'armv7-unknown-linux-gnueabihf'
uses: actions-rs/cargo@v1
with:
command: build
args: -p swap --target ${{ matrix.target }}
use-cross: true
- name: Upload swap binary
uses: actions/upload-artifact@v3

Loading…
Cancel
Save