github: Run the test-llvm and test-libcxx jobs scheduled on Sundays

In this case, run with the artifacts from the latest scheduled job.
This commit is contained in:
Martin Storsjö committed 2025-05-29 17:27:53 +03:00
1 parent 7b53b4af23
commit 718a31ef1a
2 files changed
+20 -12

No files matched your search

+10 -6
View File
@@ -17,9 +17,12 @@ on:
options:
- push
- schedule
schedule:
- cron: '30 13 * * 0' # 13:30 UTC on Sundays
jobs:
prepare:
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
runs-on: ubuntu-latest
outputs:
LLVM_VERSION: ${{steps.get-parameters.outputs.LLVM_VERSION}}
@@ -29,9 +32,9 @@ jobs:
with:
workflow: build.yml
workflow_conclusion: success
commit: ${{inputs.commit}}
branch: ${{inputs.commit == '' && inputs.branch || ''}}
event: ${{inputs.pipeline_type}}
commit: ${{github.event_name != 'schedule' && inputs.commit || ''}}
branch: ${{github.event_name == 'schedule' && 'master' || (inputs.commit == '' && inputs.branch || '')}}
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
name: parameters
- name: Get build parameters
id: get-parameters
@@ -40,6 +43,7 @@ jobs:
cat $GITHUB_OUTPUT
test-libcxx:
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
needs: [prepare]
strategy:
fail-fast: false
@@ -59,9 +63,9 @@ jobs:
with:
workflow: build.yml
workflow_conclusion: success
commit: ${{inputs.commit}}
branch: ${{inputs.commit == '' && inputs.branch || ''}}
event: ${{inputs.pipeline_type}}
commit: ${{github.event_name != 'schedule' && inputs.commit || ''}}
branch: ${{github.event_name == 'schedule' && 'master' || (inputs.commit == '' && inputs.branch || '')}}
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
name: windows-ucrt-${{matrix.arch}}-toolchain
- name: Unpack toolchain
run: |
+10 -6
View File
@@ -17,9 +17,12 @@ on:
options:
- push
- schedule
schedule:
- cron: '30 13 * * 0' # 13:30 UTC on Sundays
jobs:
prepare:
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
runs-on: ubuntu-latest
outputs:
LLVM_VERSION: ${{steps.get-parameters.outputs.LLVM_VERSION}}
@@ -29,9 +32,9 @@ jobs:
with:
workflow: build.yml
workflow_conclusion: success
commit: ${{inputs.commit}}
branch: ${{inputs.commit == '' && inputs.branch || ''}}
event: ${{inputs.pipeline_type}}
commit: ${{github.event_name != 'schedule' && inputs.commit || ''}}
branch: ${{github.event_name == 'schedule' && 'master' || (inputs.commit == '' && inputs.branch || '')}}
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
name: parameters
- name: Get build parameters
id: get-parameters
@@ -40,6 +43,7 @@ jobs:
cat $GITHUB_OUTPUT
test-llvm:
if: (github.event_name != 'schedule') || (github.repository == 'mstorsjo/llvm-mingw')
needs: [prepare]
strategy:
fail-fast: false
@@ -57,9 +61,9 @@ jobs:
with:
workflow: build.yml
workflow_conclusion: success
commit: ${{inputs.commit}}
branch: ${{inputs.commit == '' && inputs.branch || ''}}
event: ${{inputs.pipeline_type}}
commit: ${{github.event_name != 'schedule' && inputs.commit || ''}}
branch: ${{github.event_name == 'schedule' && 'master' || (inputs.commit == '' && inputs.branch || '')}}
event: ${{github.event_name == 'schedule' && 'schedule' || inputs.pipeline_type}}
name: windows-ucrt-${{matrix.arch}}-toolchain
- name: Unpack toolchain
run: |