Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
THMonster committed Oct 13, 2023
1 parent fe9cb81 commit 1637e5d
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 208 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
build: [aarch64, aarch64-musl, amd64, amd64-musl]
build: [aarch64, aarch64-musl, aarch64-linux-android, amd64, amd64-musl]
include:
- build: aarch64
os: ubuntu-latest
Expand Down Expand Up @@ -40,19 +40,26 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: 'recursive'
- uses: actions-rs/toolchain@v1
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: ${{ matrix.cross }}
command: build
args: --release --target ${{ matrix.target }}
target: ${{ matrix.target }}
args: "--release"
strip: true
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: ${{ matrix.rust }}
# target: ${{ matrix.target }}
# override: true
# - uses: actions-rs/cargo@v1
# with:
# use-cross: ${{ matrix.cross }}
# command: build
# args: --release --target ${{ matrix.target }}
- run: mv ./target/release/dmlive ./dmlive-${{ matrix.build }} || mv "./target/${{ matrix.target }}/release/dmlive" ./dmlive-${{ matrix.build }}

- uses: ncipollo/release-action@v1
Expand Down
Loading

0 comments on commit 1637e5d

Please sign in to comment.