Skip to content

change links to inclavare-containers #2

change links to inclavare-containers

change links to inclavare-containers #2

name: Testing
on: [push, pull_request]
jobs:
build-and-test:
container: ghcr.io/inclavare-containers/rats-rs:master
runs-on: ubuntu-20.04
defaults:
run:
shell: bash
working-directory: ${{ github.workspace }}
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # https://github.com/actions/checkout/issues/116#issuecomment-644419389
- name: Prepare repo
run:
git config --global --add safe.directory `pwd` && just prepare-repo
env:
HOME: /root
- name: Compile ${{ github.repository }}
run:
cargo build && cargo build --bin spdm
env:
HOME: /root
- name: Run unit test ${{ github.repository }}
run:
just run-test-in-host
env:
HOME: /root