File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
Expand file tree Collapse file tree 2 files changed +19
-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/[email protected] 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/[email protected] 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
25+ ARG NEOVIM_VERSION
2326# Install dependencies needed for building devcontainers/cli and developing in neovim
2427RUN apt-get update && \
2528 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
@@ -33,6 +36,11 @@ RUN apt-get update && \
3336 luajit \
3437 luarocks \
3538 git \
39+ # Install NEOVIM
40+ && apt-get install -y libfuse2 fuse3 \
41+ && curl -fLO https://github.com/neovim/neovim-releases/releases/download/v${NEOVIM_VERSION}/nvim.appimage \
42+ && mv nvim.appimage /usr/bin/nvim \
43+ && chmod u+x /usr/bin/nvim \
3644 # apt clean-up
3745 && apt-get autoremove -y \
3846 && rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments