mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
ci: SourceHut: revisit OpenBSD/FreeBSD config
This commit is contained in:
@@ -29,12 +29,16 @@ tasks:
|
|||||||
- build: |
|
- build: |
|
||||||
cd neovim
|
cd neovim
|
||||||
gmake CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
|
gmake CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="${CMAKE_EXTRA_FLAGS}" nvim
|
||||||
- test: |
|
- functionaltest: |
|
||||||
cd neovim
|
cd neovim
|
||||||
gmake unittest functionaltest
|
gmake functionaltest
|
||||||
|
- unittest: |
|
||||||
|
cd neovim
|
||||||
|
gmake unittest
|
||||||
|
|
||||||
# Unfortunately, oldtest is tanking hard on sourcehut's FreeBSD instance
|
# 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.
|
# 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: |
|
# - test-oldtest: |
|
||||||
# cd neovim
|
# cd neovim
|
||||||
# gmake oldtest
|
# gmake oldtest
|
||||||
|
|||||||
@@ -16,26 +16,28 @@ packages:
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/neovim/neovim
|
- 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:
|
tasks:
|
||||||
- build: |
|
- build-deps: |
|
||||||
export AUTOCONF_VERSION=2.69
|
export AUTOCONF_VERSION=2.69
|
||||||
export AUTOMAKE_VERSION=1.15
|
export AUTOMAKE_VERSION=1.15
|
||||||
cd neovim
|
mkdir neovim/.deps
|
||||||
mkdir .deps
|
cd neovim/.deps
|
||||||
cd .deps
|
|
||||||
cmake -G Ninja ../third-party/
|
cmake -G Ninja ../third-party/
|
||||||
cmake --build . --config Debug
|
cmake --build . --config Debug
|
||||||
cd ..
|
- build: |
|
||||||
mkdir build
|
mkdir neovim/build
|
||||||
cd build
|
cd neovim/build
|
||||||
cmake -G Ninja -DMIN_LOG_LEVEL=3 ..
|
cmake -G Ninja $CMAKE_EXTRA_FLAGS ..
|
||||||
cmake --build . --config Debug
|
cmake --build . --config Debug
|
||||||
./bin/nvim --version
|
./bin/nvim --version
|
||||||
- test: |
|
- functionaltest: |
|
||||||
export LC_CTYPE=en_US.UTF-8
|
|
||||||
# functional tests
|
|
||||||
cd neovim/build
|
cd neovim/build
|
||||||
cmake --build . --config Debug --target functionaltest
|
cmake --build . --config Debug --target functionaltest
|
||||||
# oldtests
|
- oldtest: |
|
||||||
cd ..
|
cd neovim
|
||||||
gmake oldtest
|
gmake oldtest
|
||||||
|
|||||||
Reference in New Issue
Block a user