NetBSD CI #1
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
# CI NetBSD GitHub Actions workflow for monolith | |
name: CI | |
on: | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- 'assets/' | |
- 'dist/' | |
- 'snap/' | |
- 'Dockerfile' | |
- 'LICENSE' | |
- 'Makefile' | |
- 'monolith.nuspec' | |
- 'README.md' | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
name: A job to run test in NetBSD | |
env: | |
MYTOKEN : ${{ secrets.MYTOKEN }} | |
MYTOKEN2: "value2" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in NetBSD | |
id: test | |
uses: vmactions/netbsd-vm@v1 | |
with: | |
envs: 'MYTOKEN MYTOKEN2' | |
usesh: true | |
prepare: | | |
/usr/sbin/pkg_add lang/rust pkgtools/mktools devel/gmake lang/perl5 devel/pkgconf pkgtools/cwrappers | |
run: | | |
cargo build --all --locked --verbose && cargo test --all --locked --verbose |