Skip to content

Commit

Permalink
test CI using FreeBSD VM on github
Browse files Browse the repository at this point in the history
first cut, not hopeful
  • Loading branch information
doug-gilbert committed Nov 24, 2023
1 parent fc0176e commit a710804
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,25 @@ jobs:
CC=${{ matrix.host && format('{0}-{1}', matrix.host, matrix.cc) || matrix.cc }} \
CFLAGS="-Wall -Wextra -Werror -Wno-sign-compare -Wno-unused-function -Wno-unused-parameter ${{matrix.cflags}}"
make -j$(nproc)
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: |
freebsd-version
./autogen.sh
./configure
make CFLAGS="-Werror"

0 comments on commit a710804

Please sign in to comment.