mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-25 18:40:19 -04:00
Add FreeBSD build and test job using freebsd-vm action
This commit is contained in:
parent
8396d3aaa1
commit
64271ac429
2 changed files with 15 additions and 3 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
|
@ -70,4 +70,16 @@ jobs:
|
|||
- run: autoreconf -i
|
||||
- run: ./configure --enable-warning-as-error
|
||||
- run: make all dist check
|
||||
|
||||
build-freebsd:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: vmactions/freebsd-vm@v1
|
||||
with:
|
||||
usesh: true
|
||||
prepare: |
|
||||
pkg install -y autoconf automake gmake
|
||||
run: |
|
||||
autoreconf -i
|
||||
./configure --enable-warning-as-error MAKE=gmake
|
||||
gmake all dist check
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ SDE = sde
|
|||
else
|
||||
SDE = sde64
|
||||
endif
|
||||
CC = gcc
|
||||
LD = ld
|
||||
CC ?= cc
|
||||
LD ?= ld
|
||||
CFLAGS = -I.. -Wall -Wextra -g
|
||||
ifeq ($(COVERAGE),)
|
||||
CFLAGS += -O2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue