forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport PR coq#15535: Split github CI actions into 2 workflows + dis…
…able windows while it's broken
- Loading branch information
Showing
2 changed files
with
55 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Windows CI | ||
|
||
on: [push, pull_request] | ||
|
||
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@v2 | ||
|
||
- name: System Information | ||
run: | | ||
.\dev\ci\platform\coq-pf-01-sysinfo.bat | ||
|
||
- name: Download Platform | ||
env: | ||
PLATFORM: "https://github.com/coq/platform/archive/dev-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@v2 | ||
with: | ||
name: windows-installer | ||
path: artifacts | ||
if-no-files-found: error |