Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTS: do not continue on error #4213

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/debug-github-slack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Github-Slack-Notification

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: "Import signing certificate"
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
run: |
echo "Hello, World!" "\"--- $BUILD_CERTIFICATE_BASE64 ---\""
echo "Hello, World!" "\"--- $P12_PASSWORD ---\""
echo "Hello, World!" "\"--- $KEYCHAIN_PASSWORD ---\""
- name: Run some commands
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
id: run-commands
run: |
echo "Hello, World!" "\"--- $SLACK_WEBHOOK_URL ---\""
exit 0
- name: Send custom JSON data to Slack workflow
id: slack
if : always()
uses: slackapi/[email protected]
with:
payload: |
{
"CTS-Nightly": "CTS nightly status: ${{ job.status }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
21 changes: 17 additions & 4 deletions .github/workflows/vk-gl-cts-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
name: VK-GL-CTS Nightly

on:
schedule:
- cron: '00 07 * * *'
push:
branches: [ master ]
pull_request:
branches: [ master ]
# schedule:
# - cron: '00 07 * * *'
jkwak-work marked this conversation as resolved.
Show resolved Hide resolved
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DISABLE_CTS_SLANG: 0
SLACK_WEBHOOK_URL: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
jobs:
build:
runs-on: [Windows, self-hosted]
timeout-minutes: 180
continue-on-error: true
timeout-minutes: 1
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -54,3 +58,12 @@ jobs:
working-directory: ${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64
run: |
.\deqp-vk.exe --deqp-archive-dir=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64 --deqp-caselist-file=${{ github.workspace }}\VK-GL-CTS_WithSlang-0.0.3-win64\VK-GL-CTS_WithSlang-0.0.3-win64\slang-passing-tests.txt
- name: result notification
id: slack-notify
if : always()
uses: slackapi/[email protected]
with:
payload: |
{
"CTS-Nightly": "CTS nightly status: ${{ job.status }}: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
Loading