-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(CI): switch to GitHub Actions, fix Neovim build (pynvim/greenle…
…t) (#78) * add g++ to fix building of greenlet for -py2/-py3 with Neovim's pynvim * move CI to GitHub Actions This also adds separate jobs for single example/test builds, e.g. Neovim 0.5 with `-py3` only. * example/Makefile: do not use -i with docker-run on CI Using `-i` does not work on GHA: > the input device is not a TTY * example/Makefile: consistent whitespace with assignments
- Loading branch information
Showing
6 changed files
with
64 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test_single: | ||
# Single/simple build instructions to ensure e.g. that build deps for -py2 | ||
# do not implicitly fix -py3 builds (which might fail otherwise). | ||
name: 'test: ${{ matrix.m_name }}' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- m_name: vim71 | ||
m_args: -tag v7.1 -name vim71 -prebuild_script 'echo "#define FEAT_PROFILE" >> src/feature.h' | ||
- m_name: vim73 | ||
m_args: -tag v7.3.429 -name vim73 -py | ||
- m_name: vim74-trusty | ||
m_args: -tag v7.4.052 -name vim74-trusty -py3 | ||
- m_name: vim-master | ||
m_args: -tag master -py2 -py3 -ruby -lua | ||
- m_name: neovim-v0.2.0 | ||
m_args: -tag neovim:v0.2.0 -py2 -py3 -ruby | ||
- m_name: neovim-v0.5.0 | ||
m_args: -tag neovim:v0.5.0 -py3 | ||
- m_name: neovim-master | ||
m_args: -tag neovim:master -py2 -py3 -ruby | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build example for test | ||
run: | | ||
cat > example/Dockerfile.tests <<EOF | ||
FROM vim-testbed-base | ||
RUN install_vim ${{ matrix.m_args }} -build | ||
EOF | ||
make build_example_for_test | ||
- run: make -C example test_vims_basic_test | ||
|
||
test_full_example: | ||
name: Test full example | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: make build_example_for_test | ||
- run: make --keep-going test_example |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TAG:=19 | ||
TAG:=20 | ||
|
||
build: | ||
docker build -t testbed/vim:$(TAG) . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters