From 97c2fbc07673ea88d4960f4e234f0e2332b9f941 Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Mon, 16 Dec 2024 15:19:31 +0000 Subject: [PATCH] ok --- .github/workflows/test.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f66d5f3d..5652fdbe2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 @@ -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/') @@ -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