forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (48 loc) · 1.32 KB
/
ci-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Windows CI
on: [push, pull_request]
permissions:
contents: read
jobs:
Windows:
name: Windows
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
architecture:
# - '32'
- '64'
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Git checkout
uses: actions/checkout@v3
- name: System Information
run: |
.\dev\ci\platform\coq-pf-01-sysinfo.bat
- name: Download Platform
env:
# Use a dedicated branch that follows master with some lag (manually updated)
PLATFORM: "https://github.com/coq/platform/archive/coq-ci.zip"
run: |
.\dev\ci\platform\coq-pf-02-download.bat
- name: Build Platform
env:
ARCH: ${{matrix.architecture}}
shell: cmd
run: |
.\dev\ci\platform\coq-pf-03-build.bat
- name: Build Installer
env:
ARCH: ${{matrix.architecture}}
shell: cmd
run: |
.\dev\ci\platform\coq-pf-04-installer.bat
- name: Upload Installer
uses: actions/upload-artifact@v3
with:
name: windows-installer
path: artifacts
if-no-files-found: error