Try to get FreeBSD to stop being classified as macOS

Also set things up to use `gmake` instead of `make` since the latter
refers to the incompatible BSD Make rather than GNU Make on BSD.
Hopefully the alias persists across build steps...
This commit is contained in:
Alex Arslan 2020-08-30 14:15:54 -07:00
parent 7e5e46c9cc
commit d4f70e9607
No known key found for this signature in database
GPG key ID: EE9A20F1240C6047

View file

@ -24,6 +24,14 @@ matrix:
apt: apt:
packages: packages:
- libtommath-dev - libtommath-dev
- os: freebsd
addons:
pkg:
packages:
- sudo
- gmake
- libtommath
- concurrencykit
- os: osx - os: osx
image: xcode8 image: xcode8
addons: addons:
@ -38,32 +46,26 @@ matrix:
packages: packages:
- libtommath - libtommath
- concurrencykit - concurrencykit
- os: freebsd
addons:
pkg:
packages:
- sudo
- libtommath
- concurrencykit
notifications: notifications:
email: false email: false
before_install: before_install:
- [ "$(uname)" = "FreeBSD" ] || alias gmake=make
- | - |
git clone https://github.com/concurrencykit/ck.git ${HOME}/ck git clone https://github.com/concurrencykit/ck.git ${HOME}/ck
cd ${HOME}/ck cd ${HOME}/ck
git checkout 0.6.0 git checkout 0.6.0
./configure PREFIX=/usr ./configure PREFIX=/usr
make all gmake all
sudo make install sudo gmake install
if [ "$(uname)" = "Linux" ]; then if [ "$(uname)" = "Linux" ]; then
sudo ldconfig sudo ldconfig
fi fi
- | - |
git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap
cd ${HOME}/cyclone-bootstrap cd ${HOME}/cyclone-bootstrap
make gmake
sudo make install sudo gmake install
script: script:
- make - gmake
- sudo make install - sudo gmake install
- make test - gmake test