mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
Merge pull request #1651 from delta1/ci-release-bins
ci: fix build-release-binaries
This commit is contained in:
commit
2ef2863e89
13
.github/workflows/build-release-binaries.yml
vendored
13
.github/workflows/build-release-binaries.yml
vendored
@ -62,17 +62,16 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: "1.74"
|
||||
targets: armv7-unknown-linux-gnueabihf
|
||||
|
||||
- name: install armv7 target
|
||||
if: matrix.target != 'armv7-unknown-linux-gnueabihf'
|
||||
run: rustup target add armv7-unknown-linux-gnueabihf
|
||||
|
||||
- name: Build ${{ matrix.target }} ${{ matrix.bin }} release binary
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --target=${{ matrix.target }} --release --package swap --bin ${{ matrix.bin }}
|
||||
use-cross: true
|
||||
run: cargo build --target=${{ matrix.target }} --release --package swap --bin ${{ matrix.bin }}
|
||||
|
||||
- name: Smoke test the binary
|
||||
if: matrix.target != 'armv7-unknown-linux-gnueabihf' # armv7-unknown-linux-gnueabihf is only cross-compiled, no smoke test
|
||||
if: matrix.target != 'armv7-unknown-linux-gnueabihf'
|
||||
run: target/${{ matrix.target }}/release/${{ matrix.bin }} --help
|
||||
|
||||
# Remove once python 3 is the default
|
||||
|
Loading…
Reference in New Issue
Block a user