@@ -12,10 +12,10 @@ jobs:
12
12
fail-fast : false
13
13
matrix :
14
14
include :
15
- - name : Linux
16
- os : ubuntu-latest
17
- # - name: macOS
18
- # os: macos-latest
15
+ # - name: Linux
16
+ # os: ubuntu-latest
17
+ - name : macOS
18
+ os : macos-latest
19
19
- name : Windows
20
20
os : windows-latest
21
21
name : ${{ matrix.name }}
32
32
build : true
33
33
test : false
34
34
lint : false
35
-
35
+ - name : install elan (macOS)
36
+ if : matrix.os == 'macos-latest'
37
+ run : |
38
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/leanprover-community/mathlib4/master/scripts/install_macos.sh)"
39
+ source ~/.profile
40
+ - name : run lake build (macOS)
41
+ if : matrix.os == 'macos-latest'
42
+ run : |
43
+ cd demo/server/LeanProject
44
+ lake build
36
45
37
46
- name : install elan (Windows)
38
47
if : matrix.os == 'windows-latest'
@@ -41,30 +50,17 @@ jobs:
41
50
echo 1 | powershell -ExecutionPolicy Bypass -f elan-init.ps1
42
51
del elan-init.ps1
43
52
shell : pwsh
44
-
45
53
- name : add elan to PATH (Windows)
46
54
if : matrix.os == 'windows-latest'
47
55
run : (Resolve-Path ~/.elan/bin).Path >> $Env:GITHUB_PATH
48
56
shell : pwsh
49
-
50
57
- name : run lake build (Windows)
51
58
if : matrix.os == 'windows-latest'
52
59
run : |
53
60
CD demo\server\LeanProject
54
61
lake build
55
62
shell : pwsh
56
63
57
- # - name: install elan (Windows)
58
- # if: matrix.os == 'windows-latest'
59
- # run: |
60
- # curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf > elan-init.sh
61
- # sh elan-init.sh -y
62
- # echo "$HOME/.elan/bin" >> $GITHUB_PATH
63
- # - name: lean bui.d (Windows)
64
- # if: matrix.os == 'windows-latest'
65
- # run: |
66
- # cd demo\server\LeanProject
67
- # lake build
68
64
- uses : actions/setup-node@v3
69
65
- run : npm install --loglevel verbose
70
66
- run : npm audit
0 commit comments