aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-11-29 10:31:31 +0100
committerDaniel Hahler <git@thequod.de>2019-12-01 06:44:35 +0100
commitcd6f755cf77369f8c165daf016eec7506ea9a702 (patch)
tree6461faba747a18d169c0c6c384ebbeb25b00f8d9
parentfe927b84decdb8e68208d85e071bd8c2595c7673 (diff)
downloadrneovim-cd6f755cf77369f8c165daf016eec7506ea9a702.tar.gz
rneovim-cd6f755cf77369f8c165daf016eec7506ea9a702.tar.bz2
rneovim-cd6f755cf77369f8c165daf016eec7506ea9a702.zip
ci: SourceHut: revisit OpenBSD/FreeBSD config
-rw-r--r--.builds/freebsd.yml8
-rw-r--r--.builds/openbsd.yml28
2 files changed, 21 insertions, 15 deletions
diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml
index 9ffd6d9c37..36f44f236b 100644
--- a/.builds/freebsd.yml
+++ b/.builds/freebsd.yml
@@ -29,12 +29,16 @@ tasks:
- build: |
cd neovim
gmake CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
-- test: |
+- functionaltest: |
cd neovim
- gmake unittest functionaltest
+ gmake functionaltest
+- unittest: |
+ cd neovim
+ gmake unittest
# Unfortunately, oldtest is tanking hard on sourcehut's FreeBSD instance
# and not producing any logs as a result. So don't do this task for now.
+# Ref: https://github.com/neovim/neovim/pull/11477#discussion_r352095005.
# - test-oldtest: |
# cd neovim
# gmake oldtest
diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml
index 6796802051..ed2962998c 100644
--- a/.builds/openbsd.yml
+++ b/.builds/openbsd.yml
@@ -16,26 +16,28 @@ packages:
sources:
- https://github.com/neovim/neovim
+environment:
+ SOURCEHUT: 1
+ LC_CTYPE: en_US.UTF-8
+ CMAKE_EXTRA_FLAGS: -DTRAVIS_CI_BUILD=ON -DMIN_LOG_LEVEL=3
+
tasks:
-- build: |
+- build-deps: |
export AUTOCONF_VERSION=2.69
export AUTOMAKE_VERSION=1.15
- cd neovim
- mkdir .deps
- cd .deps
+ mkdir neovim/.deps
+ cd neovim/.deps
cmake -G Ninja ../third-party/
cmake --build . --config Debug
- cd ..
- mkdir build
- cd build
- cmake -G Ninja -DMIN_LOG_LEVEL=3 ..
+- build: |
+ mkdir neovim/build
+ cd neovim/build
+ cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
cmake --build . --config Debug
./bin/nvim --version
-- test: |
- export LC_CTYPE=en_US.UTF-8
- # functional tests
+- functionaltest: |
cd neovim/build
cmake --build . --config Debug --target functionaltest
- # oldtests
- cd ..
+- oldtest: |
+ cd neovim
gmake oldtest