Fix second stage tester #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build tester and backend | |
on: | |
push: | |
jobs: | |
# Written in Rust | |
build-tester: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
target: aarch64-unknown-linux-gnu | |
- uses: actions-rs/cargo@v1 | |
with: | |
use-cross: true | |
command: build | |
args: --release --target aarch64-unknown-linux-gnu | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: tester | |
path: target/aarch64-unknown-linux-gnu/release/tester | |
# Written in Node.JS, built as a Docker image | |
build-backend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/setup-buildx-action@v2 | |
- uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- uses: docker/build-push-action@v3 | |
with: | |
context: backend | |
push: true | |
tags: thedevminertv/slimevr-testing-jig-backend:latest |