-
Notifications
You must be signed in to change notification settings - Fork 47
45 lines (41 loc) · 1.11 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * *'
jobs:
test:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Neovim v0.10.2
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: v0.10.2
- name: Debug neovim install
run: |
which nvim
nvim --version
ls -la /home/runner/nvim-v0.10.2/lib
ls -la /home/runner/nvim-v0.10.2/lib/nvim
- name: Build LuaJIT
run: |
git clone --depth 1 --branch v2.1 https://github.com/LuaJIT/LuaJIT
cd LuaJIT
make
echo "LUA_LIB=$PWD/src" >> $GITHUB_ENV
echo "LUA_LIB_NAME=luajit" >> $GITHUB_ENV
- name: Install latest stable `rustc`
uses: dtolnay/rust-toolchain@stable
- name: Build stuff
run: cargo build --workspace --features neovim-0-10
- name: Check target dir
run: ls /home/runner/work/nvim-oxi/nvim-oxi/target/nvim_oxi_tests/tests/debug