Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Aug 20, 2024
1 parent d6ebb4b commit a2dbc5a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,33 @@ jobs:
build: true
test: false
lint: false
- name: install elan


- name: install elan (Windows)
if: matrix.os == 'windows-latest'
run: |
curl -O --location https://raw.githubusercontent.com/leanprover/elan/master/elan-init.ps1
echo 1 | powershell -ExecutionPolicy Bypass -f elan-init.ps1
del elan-init.ps1
(Resolve-Path ~/.elan/bin).Path >> $Env:GITHUB_PATH
cd demo\server\LeanProject
shell: pwsh

- name: add elan to PATH (Windows)
if: matrix.os == 'windows-latest'
run: (Resolve-Path ~/.elan/bin).Path >> $Env:GITHUB_PATH
shell: pwsh

- name: get mathlib cache
if: matrix.os == 'windows-latest'
run: lake exe cache get
shell: pwsh

- name: run lake build (Windows)
if: matrix.os == 'windows-latest'
run: |
CD demo\server\LeanProject
lake build
shell: pwsh

# - name: install elan (Windows)
# if: matrix.os == 'windows-latest'
# run: |
Expand Down

0 comments on commit a2dbc5a

Please sign in to comment.