mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10: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
|
||||
target: x86_64-unknown-linux-gnu
|
||||
deb: true
|
||||
- os: ubuntu-latest
|
||||
target: aarch64-unknown-linux-gnu
|
||||
deb: true
|
||||
- os: macos-latest
|
||||
target: x86_64-apple-darwin
|
||||
- os: macos-latest
|
||||
|
|
@ -39,18 +42,24 @@ jobs:
|
|||
override: true
|
||||
target: ${{ matrix.target }}
|
||||
|
||||
# will need to static link openssl
|
||||
# - name: install cross
|
||||
# if: ${{ runner.os == 'Linux' }}
|
||||
# uses: actions-rs/cargo@v1
|
||||
# with:
|
||||
# command: install
|
||||
# args: cross --locked
|
||||
- name: install cross
|
||||
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: install
|
||||
args: cross --locked
|
||||
|
||||
- name: build
|
||||
if: ${{ matrix.target != 'aarch64-unknown-linux-gnu' }}
|
||||
run:
|
||||
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
|
||||
if: ${{ matrix.deb == true }}
|
||||
uses: actions-rs/install@v0.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue