Skip to content

Commit d0fa027

Browse files
committed
Skip v0.5.1 for LSP
kinda annoying tbh
1 parent ed4608c commit d0fa027

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ jobs:
4848
strategy:
4949
matrix:
5050
# based off of the branches in the idris-lsp repo
51-
idris-lsp-version: ["idris2-0.5.1", "idris2-0.6.0", "idris2-0.7.0", "latest"]
51+
idris-lsp-version: ["idris2-0.6.0", "idris2-0.7.0", "latest"]
5252
include:
53-
- idris-lsp-version: "idris2-0.5.1"
54-
idris-version: "v0.5.1"
5553
- idris-lsp-version: "idris2-0.6.0"
5654
idris-version: "v0.6.0"
5755
- idris-lsp-version: "idris2-0.7.0"

scripts/install-idris-lsp.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ fi
2121
# these are the "older" supported versions, before the idris2-lsp repo was split a reusable LSP-lib
2222
if [[ $IDRIS_LSP_VERSION == "idris2-0.4.0" ]] || [[ $IDRIS_LSP_VERSION == "idris2-0.5.1" ]]; then
2323
echo "Installing older version of idris2-lsp"
24+
25+
# Rebuild idris2
26+
# https://github.com/joshuanianji/idris-2-docker/blob/1039bc7bb6de70a2e3d915469cc22067cfd30cac/devcontainer.Dockerfile
27+
cd /build/idris2-lsp/Idris2
28+
make bootstrap SCHEME=scheme PREFIX=/usr/local/lib/idris2 && make install PREFIX=/usr/local/lib/idris2
2429

2530
# Manual install of idris2-lsp (no need to rebuild idris)
2631
cd /build/idris2-lsp

0 commit comments

Comments
 (0)