diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2023-11-24 18:54:55 +1100 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2023-11-24 18:54:55 +1100 |
commit | a7108046fc1989fb3fbb40bf3b7764e1df1f3d19 (patch) | |
tree | bbe868070c226210d594a0267338a9701c9ad900 | |
parent | fc0176e414a17ec73b811320b5cace040d5a7c49 (diff) | |
download | sg3_utils-a7108046fc1989fb3fbb40bf3b7764e1df1f3d19.tar.gz |
test CI using FreeBSD VM on github
first cut, not hopeful
-rw-r--r-- | .github/workflows/ci.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0af03cad..6a44ce69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" |