mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
ci: add arm linux
This commit is contained in:
parent
609c7609d7
commit
ce271043b3
1 changed files with 16 additions and 7 deletions
23
.github/workflows/build.yaml
vendored
23
.github/workflows/build.yaml
vendored
|
|
@ -17,6 +17,9 @@ jobs:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
target: x86_64-unknown-linux-gnu
|
target: x86_64-unknown-linux-gnu
|
||||||
deb: true
|
deb: true
|
||||||
|
- os: ubuntu-latest
|
||||||
|
target: aarch64-unknown-linux-gnu
|
||||||
|
deb: true
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
|
|
@ -39,18 +42,24 @@ jobs:
|
||||||
override: true
|
override: true
|
||||||
target: ${{ matrix.target }}
|
target: ${{ matrix.target }}
|
||||||
|
|
||||||
# will need to static link openssl
|
- name: install cross
|
||||||
# - name: install cross
|
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
|
||||||
# if: ${{ runner.os == 'Linux' }}
|
uses: actions-rs/cargo@v1
|
||||||
# uses: actions-rs/cargo@v1
|
with:
|
||||||
# with:
|
command: install
|
||||||
# command: install
|
args: cross --locked
|
||||||
# args: cross --locked
|
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
|
if: ${{ matrix.target != 'aarch64-unknown-linux-gnu' }}
|
||||||
run:
|
run:
|
||||||
cargo build --release --all-features --locked --target ${{ matrix.target }}
|
cargo build --release --all-features --locked --target ${{ matrix.target }}
|
||||||
|
|
||||||
|
- name: build (cross)
|
||||||
|
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
|
||||||
|
run: >
|
||||||
|
cross build --release --locked --target ${{ matrix.target }}
|
||||||
|
--features=runtime-rules,request-ai
|
||||||
|
|
||||||
- name: install cargo-deb
|
- name: install cargo-deb
|
||||||
if: ${{ matrix.deb == true }}
|
if: ${{ matrix.deb == true }}
|
||||||
uses: actions-rs/install@v0.1
|
uses: actions-rs/install@v0.1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue