Save rupsc artifact

This commit is contained in:
Aram 🍐 2021-07-31 01:59:49 -04:00
parent 521db292d2
commit d1d6b4e1a8
2 changed files with 11 additions and 1 deletions

View file

@ -6,3 +6,6 @@ linker = "arm-linux-gnueabihf-gcc"
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
[target.x86_64-unknown-linux-gnu]
linker = "x86_64-linux-gnu-gcc"

View file

@ -32,6 +32,7 @@ jobs:
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- aarch64-unknown-linux-gnu
- arm-unknown-linux-gnueabihf
- armv7-unknown-linux-gnueabihf
@ -54,7 +55,13 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --target ${{ matrix.target }}
args: --target ${{ matrix.target }} --release
- name: Archive rupsc binary
uses: actions/upload-artifact@v2
with:
name: rupsc-${{ matrix.target }}
path: target/${{ matrix.target }}/release/rupsc
test:
name: Test Suite