diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9854859..6ded7dc5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/raid/test/Makefile b/raid/test/Makefile index 0471ad3f..6ed8746a 100644 --- a/raid/test/Makefile +++ b/raid/test/Makefile @@ -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