Skip to content

fix: Build failed on msys2 windows #126 #426

fix: Build failed on msys2 windows #126

fix: Build failed on msys2 windows #126 #426

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
gcc:
name: c build and tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-15]
compiler: [gcc, clang]
steps:
- uses: actions/checkout@v4
- name: Prepare
env:
CC: ${{ matrix.compiler }}
run: |
cc --version
git clone https://github.com/Conni2461/examiner
cd examiner
make && sudo make install
- name: Build
env:
CC: ${{ matrix.compiler }}
LD_LIBRARY_PATH: /usr/lib:/usr/local/lib
run: DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib make
- name: Tests
env:
CC: ${{ matrix.compiler }}
LD_LIBRARY_PATH: /usr/lib:/usr/local/lib
run: DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib make test
windows:
name: windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: lukka/get-cmake@latest
- name: Build
run: |
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
nvim-tests:
name: nvim-tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-15]
rev: [nightly, v0.9.5, v0.10.1]
steps:
- uses: actions/checkout@v4
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.rev }}
- name: Prepare
run: |
git clone --depth 1 https://github.com/nvim-lua/plenary.nvim ../plenary.nvim
- name: Build
run: make
- name: Tests
run: |
nvim --version
make ntest