mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-09-30 05:15:41 +00:00
ci: fix build-release-binaries
This commit is contained in:
parent
a471a17a88
commit
bbf8f84312
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
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: "1.74"
|
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
|
- name: Build ${{ matrix.target }} ${{ matrix.bin }} release binary
|
||||||
uses: actions-rs/cargo@v1
|
run: cargo build --target=${{ matrix.target }} --release --package swap --bin ${{ matrix.bin }}
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
args: --target=${{ matrix.target }} --release --package swap --bin ${{ matrix.bin }}
|
|
||||||
use-cross: true
|
|
||||||
|
|
||||||
- name: Smoke test the binary
|
- 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
|
run: target/${{ matrix.target }}/release/${{ matrix.bin }} --help
|
||||||
|
|
||||||
# Remove once python 3 is the default
|
# Remove once python 3 is the default
|
||||||
|
Loading…
Reference in New Issue
Block a user