Skip to content

Commit

Permalink
Explicitly use GNU make for FreeBSD build
Browse files Browse the repository at this point in the history
By default, "make" on FreeBSD is not compatible with the GNU make
expected by the example libraries that test:examples will attempt to
compile.

GNU make _is_ available for FreeBSD but isn't installed by default so we
explicitly download it and set the MAKE environment variable so
MiniPortile will use it.
  • Loading branch information
mudge committed Apr 12, 2024
1 parent 22c70de commit e0de764
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -96,6 +96,8 @@ jobs:
matrix:
task: ["test:unit", "test:examples"]
runs-on: ubuntu-latest
env:
MAKE: gmake
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
Expand All @@ -104,9 +106,10 @@ jobs:
key: examples-${{ hashFiles('examples/Rakefile') }}
- uses: vmactions/freebsd-vm@v1
with:
envs: MAKE
usesh: true
copyback: false
prepare: pkg install -y ruby devel/ruby-gems pkgconf git cmake textproc/libyaml security/gnupg
prepare: pkg install -y ruby devel/ruby-gems pkgconf git cmake devel/gmake textproc/libyaml security/gnupg
run: |
git config --global --add safe.directory /home/runner/work/mini_portile/mini_portile
gem install bundler
Expand Down

0 comments on commit e0de764

Please sign in to comment.