-
Notifications
You must be signed in to change notification settings - Fork 47
46 lines (42 loc) · 1.36 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
46
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
- uses: ilammy/msvc-dev-cmd@v1
- name: Install LuaJIT
uses: leafo/gh-actions-lua@v10
with:
# https://github.com/leafo/gh-actions-lua/issues/49
luaVersion: "luajit-openresty"
- name: Install latest stable `rustc`
uses: dtolnay/rust-toolchain@stable
- name: Check target dir
run: cargo metadata --format-version 1 --manifest-path Cargo.toml | jq -r .target_directory
- name: Build stuff
run: cargo build --workspace --features neovim-0-10
- name: Check target dir 2
run: ls /home/runner/work/nvim-oxi/nvim-oxi/target || true
- name: Check target dir 3
run: ls /home/runner/work/nvim-oxi/nvim-oxi/target/nvim_oxi_tests || true
- name: Check target dir 4
run: ls /home/runner/work/nvim-oxi/nvim-oxi/target/nvim_oxi_tests/tests || true
- name: Check target dir 5
run: ls /home/runner/work/nvim-oxi/nvim-oxi/target/nvim_oxi_tests/tests/debug || true