Narrowing the problem down #338
Workflow file for this run
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
build-test: | |
runs-on: windows-latest | |
permissions: | |
contents: write | |
defaults: | |
run: | |
shell: bash --noprofile --norc -e -o pipefail -o igncr {0} | |
env: | |
PATH: C:\cygwin\bin | |
strategy: | |
matrix: | |
package-url: | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/16/112323 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/17/041348 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/18/094559 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/20/212239 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/21/175556 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/22/104150 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/23/144246 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/24/204847 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/25/203606 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/26/120221 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/27/131113 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/28/171106 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/29/131137 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/30/171107 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/03/31/133300 | |
- http://ctm.crouchingtigerhiddenfruitbat.org/pub/cygwin/circa/64bit/2023/04/01/144037 | |
check-sig: | |
- false | |
fail-fast: false | |
steps: | |
- name: Install Cygwin Git and cygport | |
uses: cygwin/cygwin-install-action@v2 | |
with: | |
packages: git cygport | |
site: ${{ matrix.package-url }} | |
check-sig: ${{ matrix.check-sig }} | |
timeout-minutes: 10 | |
- name: Manually configure safe.directory | |
run: git config --global --add safe.directory '*' | |
timeout-minutes: 1 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
set-safe-directory: false # actions/checkout otherwise tries to use the wrong config file, per actions/checkout#767 | |
fetch-depth: 0 # Need this to push to Cygwin Git mirror | |
timeout-minutes: 1 | |
- name: Load variables from the cygport file | |
run: | | |
eval "$(cygport git.cygport vars BUILD_REQUIRES PVR)" | |
printf 'BUILD_REQUIRES=%s\n' "$BUILD_REQUIRES" >>"$GITHUB_ENV" | |
printf 'PVR=%s\n' "$PVR" >>"$GITHUB_ENV" | |
timeout-minutes: 1 | |
- name: Install Cygwin build requirements | |
uses: cygwin/cygwin-install-action@v2 | |
with: | |
packages: ${{ env.BUILD_REQUIRES }} | |
site: ${{ matrix.package-url }} | |
check-sig: ${{ matrix.check-sig }} | |
timeout-minutes: 30 | |
- name: Generate cygcheck output | |
if: always() | |
run: cygcheck -srv >/var/log/cygcheck.out | |
timeout-minutes: 5 | |
- name: Store Cygwin logs | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: cygwin-logs | |
path: 'C:\cygwin\var\log\' | |
timeout-minutes: 5 | |
- name: Cygport download | |
run: cygport git.cygport download | |
timeout-minutes: 5 | |
- name: Cygport prep | |
run: cygport git.cygport prep | |
timeout-minutes: 1 | |
- name: Cygport compile | |
run: cygport git.cygport compile | |
timeout-minutes: 30 | |
- name: Cygport test | |
run: cygport git.cygport test | |
timeout-minutes: 300 | |
- name: Tar up build results | |
if: always() | |
run: tar -caf git-build-results.txz git-*-*.*/ | |
timeout-minutes: 10 | |
- name: Store build results | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build-results | |
path: git-build-results.txz | |
if-no-files-found: error | |
timeout-minutes: 5 |