Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
d-e-s-o committed Nov 16, 2023
1 parent a592ce0 commit 937dc03
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
33 changes: 20 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
name: Build

on:
workflow_dispatch:
push:

jobs:
build:
name: Build statically linked binary
runs-on: ubuntu-latest
steps:
#- uses: actions/checkout@v4
#- name: Install dependencies
# run: sudo apt-get install musl-tools
#- uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# profile: minimal
# override: true
# target: aarch64-linux-android
#- run: |
# cargo install --path=cli --root=. --target aarch64-linux-android
# strip bin/blazecli
#- uses: actions/upload-artifact@v3
# with:
# name: blazecli
# path: bin/blazecli
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install musl-tools
- uses: actions-rs/toolchain@v1
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
override: true
target: aarch64-linux-android
- run: |
cargo install --path=cli --root=. --target aarch64-linux-android
strip bin/blazecli
- uses: actions/upload-artifact@v3
with:
name: blazecli
path: bin/blazecli
- run: cargo install --path=cli --root=. --target aarch64-linux-android
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Test

on:
push:
pull_request:
workflow_call:

env:
Expand Down

0 comments on commit 937dc03

Please sign in to comment.