test CI using FreeBSD VM on github #125
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
# See also https://docs.github.com/en/actions/learn-github-actions/expressions | |
# See also https://github.com/marketplace/actions/setup-android-ndk | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
fbsd: | |
runs-on: ubuntu-22.04 | |
name: A job to build sg3_utils on FreeBSD | |
env: | |
MYTOKEN : ${{ secrets.MYTOKEN }} | |
MYTOKEN2: "value2" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test in FreeBSD | |
id: test | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
envs: 'MYTOKEN MYTOKEN2' | |
usesh: true | |
prepare: | | |
pkg install -y curl | |
run: | | |
pwd | |
ls -lah | |
whoami | |
env | |
freebsd-version |