File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 55jobs :
66 unit-tests :
77 runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ neovim-version : ["0.9.5", "0.10.0"]
11+ fail-fast : false
12+ name : NEOVIM ${{ matrix.neovim-version }}
813 steps :
914 - name : Checkout
1015 uses : actions/checkout@v3
11- - name : Pre-build devcontainer image
16+ - name : Pre-build devcontainer image for NEOVIM ${{ matrix.neovim-version }}
1217 uses : devcontainers/ci@v0.3
1318 with :
14- imageName : ${{ env.IMAGE_NAME }}
15- cacheFrom : ${{ env.IMAGE_NAME }}
19+ imageName : ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
20+ cacheFrom : ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
1621 push : never
22+ buildArgs : |
23+ NEOVIM_VERSION=${{ matrix.neovim-version }}
1724 - name : Run tests inside the docker image
1825 uses : devcontainers/ci@v0.3
1926 with :
20- cacheFrom : ${{ env.IMAGE_NAME }}
27+ cacheFrom : ${{ env.IMAGE_NAME }}-${{ matrix.neovim-version }}
2128 push : never
2229 runCmd : make test
Original file line number Diff line number Diff line change 1818# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919# SOFTWARE.
2020
21+ ARG NEOVIM_VERSION=0.10.0
22+
2123FROM ubuntu:22.04 as builder
2224
2325# Install dependencies needed for building devcontainers/cli and developing in neovim
@@ -33,6 +35,11 @@ RUN apt-get update && \
3335 luajit \
3436 luarocks \
3537 git \
38+ # Install NEOVIM
39+ && apt_install libfuse2 fuse3 \
40+ && wget https://github.com/neovim/neovim-releases/releases/download/v${NEOVIM_VERSION}/nvim.appimage \
41+ && mv nvim.appimage /usr/bin/nvim \
42+ && chmod u+x /usr/bin/nvim \
3643 # apt clean-up
3744 && apt-get autoremove -y \
3845 && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments