File tree 1 file changed +20
-3
lines changed
1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,33 @@ jobs:
32
32
build : true
33
33
test : false
34
34
lint : false
35
- - name : install elan
35
+
36
+
37
+ - name : install elan (Windows)
36
38
if : matrix.os == 'windows-latest'
37
39
run : |
38
40
curl -O --location https://raw.githubusercontent.com/leanprover/elan/master/elan-init.ps1
39
41
echo 1 | powershell -ExecutionPolicy Bypass -f elan-init.ps1
40
42
del elan-init.ps1
41
- (Resolve-Path ~/.elan/bin).Path >> $Env:GITHUB_PATH
42
- cd demo\server\LeanProject
43
+ shell : pwsh
44
+
45
+ - name : add elan to PATH (Windows)
46
+ if : matrix.os == 'windows-latest'
47
+ run : (Resolve-Path ~/.elan/bin).Path >> $Env:GITHUB_PATH
48
+ shell : pwsh
49
+
50
+ - name : get mathlib cache
51
+ if : matrix.os == 'windows-latest'
52
+ run : lake exe cache get
53
+ shell : pwsh
54
+
55
+ - name : run lake build (Windows)
56
+ if : matrix.os == 'windows-latest'
57
+ run : |
58
+ CD demo\server\LeanProject
43
59
lake build
44
60
shell : pwsh
61
+
45
62
# - name: install elan (Windows)
46
63
# if: matrix.os == 'windows-latest'
47
64
# run: |
You can’t perform that action at this time.
0 commit comments