Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Dec 16, 2024
1 parent 891da0a commit 97c2fbc
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- target: x86_64-pc-windows-msvc
os: windows-latest
archive: zip
os: ['ubuntu-latest']
os: [ 'ubuntu-latest' ]
target:
- armv7-linux-androideabi
- armv7-unknown-linux-gnueabihf
Expand Down Expand Up @@ -117,6 +117,20 @@ jobs:
target: ${{ matrix.target }}
args: --locked

- name: Build example
uses: houseabsolute/actions-rust-cross@v0
#if: startsWith(github.ref, 'refs/tags/')
with:
command: build
target: ${{ matrix.target }}
args: --release --locked --examples --bins

- name: Run example with emulation
run: target/${{ matrix.target }}/examples/simple-ping

- name: Run help with emulation
run: target/${{ matrix.target }}/gping --help

- name: Build release
uses: houseabsolute/actions-rust-cross@v0
#if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -125,9 +139,6 @@ jobs:
target: ${{ matrix.target }}
args: --release --locked

- name: Run test with emulation
run: target/${{ matrix.target }}/release/gping --help

- name: Publish artifacts and release
#if: startsWith(github.ref, 'refs/tags/')
uses: houseabsolute/actions-rust-release@v0
Expand Down

0 comments on commit 97c2fbc

Please sign in to comment.