Make build more friendly #91
Workflow file for this run
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 project | |
on: [ push, pull_request ] | |
permissions: | |
contents: write | |
packages: read | |
id-token: write | |
jobs: | |
build: | |
name: build project | |
runs-on: | |
- lab | |
timeout-minutes: 180 | |
container: | |
image: ghcr.io/githedgehog/dpdk-sys/dev-env:main-rust-pinned | |
credentials: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: compile-env is self | |
run: just _ci-compile-env-hack | |
- run: just cargo build | |
- run: just cargo build --release | |
- run: just cargo test | |
- run: just cargo test --release |