Skip to content

Commit

Permalink
Backport PR coq#15535: Split github CI actions into 2 workflows + dis…
Browse files Browse the repository at this point in the history
…able windows while it's broken
  • Loading branch information
SkySkimmer committed Feb 11, 2022
2 parents 55e0c61 + b887e64 commit 5f480a2
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 51 deletions.
52 changes: 1 addition & 51 deletions .github/workflows/ci.yml → .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,8 @@
name: GitHub CI
name: GitHub macOS 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

macOS:
runs-on: macOS-10.15

Expand Down
54 changes: 54 additions & 0 deletions .github/workflows/ci-windows.yml.disabled
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

0 comments on commit 5f480a2

Please sign in to comment.