Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 46fe63a

Browse files
authored
Added weekly scheduled runs for all compilers (#72)
Signed-off-by: Gregory Shimansky <gshimansky@gmail.com>
1 parent 3e6e8d9 commit 46fe63a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ on:
2121
required: false
2222
default: '["./mlp.sh", "./cnn.sh", "./llm.sh"]'
2323
type: string
24+
schedule:
25+
# Runs at 12pm UTC (6am CST) on every Saturday
26+
- cron: "0 12 * * 6"
2427

2528
jobs:
2629
print_inputs:
@@ -43,15 +46,15 @@ jobs:
4346
{device: 'cpu', compiler: 'torch_mlir'},
4447
{device: 'cpu', compiler: 'torch_mlir_xsmm'}
4548
]
46-
test_script: ${{ fromJson(inputs.test_scripts) }}
49+
test_script: ${{ github.event_name == 'workflow_dispatch' && fromJson(inputs.test_scripts) || fromJson('["./mlp.sh", "./cnn.sh", "./llm.sh"]') }}
4750
fail-fast: false
4851
uses: ./.github/workflows/execute-test-script.yml
4952
with:
5053
compiler: ${{ matrix.type.compiler }}
5154
device: ${{ matrix.type.device }}
52-
tag: ${{ inputs.tag }}
53-
torch_mlir_repo: ${{ inputs.torch_mlir_repo }}
54-
torch_mlir_branch: ${{ inputs.torch_mlir_branch }}
55+
tag: ${{ github.event_name == 'workflow_dispatch' && inputs.tag || 'ci' }}
56+
torch_mlir_repo: ${{ github.event_name == 'workflow_dispatch' && inputs.torch_mlir_repo || 'intel-ai/torch-mlir' }}
57+
torch_mlir_branch: ${{ github.event_name == 'workflow_dispatch' && inputs.torch_mlir_branch || 'cpu-proto' }}
5558
runner_type: spr
5659
shutdown_cloud_runner: false
5760
test_script: ${{ matrix.test_script }}

0 commit comments

Comments
 (0)