summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-03-10 09:54:38 +0100
committerGitHub <[email protected]>2022-03-10 09:54:38 +0100
commit4c705bc07d7e0510e88d9ce95e45999e95719144 (patch)
treef1b37c9749c551fb755218a028159dbfe0da3597 /.github
parent637658ae2c4ae6acd2179ea5ce7a482e557944f2 (diff)
feat(windows): add custom config_win.example.lua (#2330)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yaml4
-rw-r--r--.github/workflows/install.yaml49
-rw-r--r--.github/workflows/lint.yaml4
3 files changed, 26 insertions, 31 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index 7f5f57d6..a7f7d9f8 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -1,10 +1,8 @@
name: format
+
on:
- push:
- branches: "**"
pull_request:
branches:
- - "master"
- "rolling"
jobs:
diff --git a/.github/workflows/install.yaml b/.github/workflows/install.yaml
index 02400ce4..4266896b 100644
--- a/.github/workflows/install.yaml
+++ b/.github/workflows/install.yaml
@@ -1,7 +1,6 @@
name: install
+
on:
- push:
- branches: ["**"]
pull_request:
branches:
- "master"
@@ -37,27 +36,27 @@ jobs:
# NOTE: make sure to adjust the timeout if you start adding a lot of tests
timeout-minutes: 4
run: make test
-# freebsd:
-# runs-on: macos-latest
-# if: github.event.pull_request.draft == false
-# continue-on-error: true # we don't support freebsd yet
-# name: "FreeBSD macos-latest"
-# steps:
-# - uses: actions/checkout@v2
-
-# - name: Install dependencies for FreeBSD
-# uses: vmactions/[email protected]
-# with:
-# prepare: pkg install -y curl neovim
-# run: bash ./utils/installer/install.sh
-
-# - name: Test LunarVim PackerCompile
-# uses: vmactions/[email protected]
-# with:
-# run: if nvim --headless +PackerCompile -c ':qall' 2>&1|grep -q 'Error'; then false; fi
-
-# - name: Test LunarVim Health
-# uses: vmactions/[email protected]
-# with:
-# run: if nvim --headless +checkhealth -c ':qall' 2>&1|grep -q 'Error'; then false; fi
+ windows:
+ name: "windows-latest"
+ runs-on: windows-latest
+ if: github.event.pull_request.draft == false
+ continue-on-error: true # windows support is still experimental
+ defaults:
+ run:
+ shell: pwsh
+ steps:
+ # it's not currently possbile to run tests on windows, see nvim-lua/plenary.nvim#255
+ - uses: actions/checkout@v2
+
+ - name: Install neovim binary
+ uses: rhysd/action-setup-vim@v1
+ with:
+ neovim: true
+ version: v0.6.1
+
+ - name: Install LunarVim
+ timeout-minutes: 4
+ run: |
+ echo "$HOME/.local/bin" >> $GITHUB_PATH
+ pwsh.exe -NoLogo -ExecutionPolicy Bypass -NonInteractive -Command "./utils/installer/install.ps1 --local"
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 93050bba..9746425d 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -1,10 +1,8 @@
name: lint
+
on:
- push:
- branches: "**"
pull_request:
branches:
- - "master"
- "rolling"
jobs: