-
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.
Cut down build to identify doc build problems
Also split out the build targets to work out which one(s) are problematic.
- Loading branch information
Showing
2 changed files
with
7 additions
and
100 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,11 @@ jobs: | |
defaults: | ||
run: | ||
shell: bash --noprofile --norc -e -o pipefail -o igncr {0} | ||
matrix: | ||
build-target: [all,html,man,info,pdf] | ||
fast-fail: false | ||
env: | ||
_BUILD_TARGET: ${{ matrix.build-target }} | ||
PATH: C:\cygwin\bin | ||
steps: | ||
- name: Install Cygwin Git and cygport | ||
|
@@ -56,52 +60,6 @@ jobs: | |
- name: Cygport compile | ||
run: cygport git.cygport compile | ||
timeout-minutes: 30 | ||
- name: Cygport test | ||
run: cygport git.cygport test | ||
timeout-minutes: 300 | ||
- name: Cygport install | ||
run: cygport git.cygport install | ||
timeout-minutes: 30 | ||
- name: Cygport package | ||
run: cygport git.cygport package | ||
timeout-minutes: 5 | ||
- name: Configure SSH | ||
if: github.ref == 'refs/heads/main' | ||
env: | ||
MAINTAINER_KEY: ${{ secrets.MAINTAINER_KEY }} | ||
run: | | ||
umask 0077 | ||
mkdir -p ~/.ssh | ||
echo "$MAINTAINER_KEY" >~/.ssh/id_rsa | ||
echo 'cygwin.com,8.43.85.97 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGqrxexIuyqmCVe33p1HuhUFzsXte5QZKb+BJlsRrvXOpUOJEW2S0kszyAiymeV7AXaYmHDKVRJpGVR+0ua0Xww=' >~/.ssh/known_hosts | ||
timeout-minutes: 1 | ||
- name: Create release tag | ||
if: github.ref == 'refs/heads/main' | ||
env: | ||
GIT_COMMITTER_NAME: ${{ github.actor }} | ||
GIT_COMMITTER_EMAIL: ${{ github.actor }}@users.noreply.github.com | ||
run: | | ||
git tag -am "v${PVR}" "v${PVR}" | ||
git push origin tag "v${PVR}" | ||
timeout-minutes: 1 | ||
- name: Create a GitHub release | ||
if: github.ref == 'refs/heads/main' | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
tag_name: v${{ env.PVR }} | ||
files: | | ||
git-*/dist/git/* | ||
git-*/dist/git/*/* | ||
target_commitish: ${{ github.ref }} | ||
timeout-minutes: 2 | ||
- name: Mirror to Cygwin Git repositories | ||
if: github.ref == 'refs/heads/main' | ||
run: git push [email protected]:/git/cygwin-packages/git tag "v${PVR}" | ||
timeout-minutes: 5 | ||
- name: Cygport upload | ||
if: github.ref == 'refs/heads/main' | ||
run: SSH_KEY=~/.ssh/id_rsa cygport git.cygport upload | ||
timeout-minutes: 5 | ||
- name: Tar up build results | ||
if: always() | ||
run: tar -caf git-build-results.txz git-*-*.*/ | ||
|
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