-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use Files.createTempFile * Don't always apply POSIX permissions * back out permissions change * Revert "back out permissions change" This reverts commit 8ec486b. * pin back windows * add slack alert & cron * broken dockcross tag * docker rmi * build only specific artifact per test * fix
- Loading branch information
1 parent
0dfcd64
commit cfb9b61
Showing
6 changed files
with
87 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: slack-alert | ||
|
||
on: | ||
workflow_run: | ||
workflows: [tests] | ||
types: [completed] | ||
|
||
jobs: | ||
on-failure: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.workflow_run.conclusion == 'failure' }} | ||
steps: | ||
- name: Send Slack Alert | ||
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
payload: | | ||
Github Actions ${{ github.event.workflow_run.conclusion }} | ||
Repo: ${{github.event.workflow_run.repository.name }} | ||
Workflow URL: ${{ github.event.workflow_run.html_url }} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |
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 |
---|---|---|
|
@@ -5,6 +5,9 @@ on: | |
branches: [master, stable-*] | ||
pull_request: | ||
branches: [master, stable-*] | ||
schedule: | ||
# Every Sunday, rerun | ||
- cron: "0 12 * * 0" | ||
|
||
jobs: | ||
tests: | ||
|
@@ -56,15 +59,16 @@ jobs: | |
if-no-files-found: error | ||
|
||
tests-new-dockcross: | ||
name: Dockcross ${{ matrix.dockcross-tag }} Java ${{ matrix.java-version }} ${{ matrix.os }} | ||
name: Dockcross ${{ matrix.dockcross-tag }} Java ${{ matrix.java-version }} ${{ matrix.os }} ${{ matrix.dockcross-only }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
java-distribution: [adopt] | ||
java-version: [17] | ||
dockcross-tag: ["20220906-e88a3ce", "20230116-670f7f7"] | ||
dockcross-tag: ["20230116-670f7f7", "20240418-88c04a4", "latest"] | ||
dockcross-only: ["android-arm", "android-arm64", "linux-arm64", "linux-armv5", "linux-armv7", "linux-s390x", "linux-ppc64le", "linux-x64", "linux-x86", "windows-static-x64", "windows-static-x86"] | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -85,7 +89,7 @@ jobs: | |
${{ runner.os }}-maven- | ||
- name: Tests | ||
run: mvn "-Dh3.system.prune=true" "-Dh3.dockcross.tag=${{ matrix.dockcross-tag }}" -B -V clean test | ||
run: mvn "-Dh3.system.prune=true" "-Dh3.dockcross.tag=${{ matrix.dockcross-tag }}" "-Dh3.dockcross.only=${{ matrix.dockcross-only }}" -B -V clean test | ||
|
||
tests-no-docker: | ||
name: Java (No Docker) ${{ matrix.java-version }} ${{ matrix.os }} | ||
|
@@ -94,7 +98,8 @@ jobs: | |
strategy: | ||
matrix: | ||
# TODO: Docker on macos-latest running is not working | ||
os: [macos-latest, windows-latest] | ||
# TODO: Windows pinned back | ||
os: [macos-latest, windows-2019] | ||
java-distribution: [adopt] | ||
java-version: [8, 11, 15, 17] | ||
|
||
|
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
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