[ci] Improve schedule on hw ci
This commit is contained in:
parent
40330b116e
commit
40f04a2fac
70
.github/workflows/hw_mode_test.yml
vendored
70
.github/workflows/hw_mode_test.yml
vendored
@ -6,12 +6,12 @@ on:
|
|||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: labeled
|
types: labeled
|
||||||
schedule:
|
schedule:
|
||||||
# Schedule to run everyday at 6PM UTC (2AM CST)
|
# Schedule to run on Tue,Fri at 6PM UTC (2AM CST)
|
||||||
- cron: '0 18 * * *'
|
- cron: '0 18 * * 2,5'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
nap_time: 60
|
nap_time: 60
|
||||||
repeat_times: 500 # Stress test repeat times
|
repeat_times: 250 # Stress test repeat times
|
||||||
|
|
||||||
# Cancel previous running jobs on push or pull request
|
# Cancel previous running jobs on push or pull request
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -21,7 +21,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
Make-test-on-ubuntu:
|
Make-test-on-ubuntu:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -35,7 +35,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -67,7 +67,7 @@ jobs:
|
|||||||
|
|
||||||
C_cpp_rust_golang_embedded_mode_support_test:
|
C_cpp_rust_golang_embedded_mode_support_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -81,7 +81,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -162,7 +162,7 @@ jobs:
|
|||||||
|
|
||||||
Java_support_test:
|
Java_support_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -176,7 +176,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -212,7 +212,7 @@ jobs:
|
|||||||
|
|
||||||
Bazel_test:
|
Bazel_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -226,7 +226,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -264,7 +264,7 @@ jobs:
|
|||||||
|
|
||||||
Fish_test:
|
Fish_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -278,7 +278,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -311,7 +311,7 @@ jobs:
|
|||||||
|
|
||||||
Xgboost_test:
|
Xgboost_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -325,7 +325,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -358,7 +358,7 @@ jobs:
|
|||||||
|
|
||||||
Sqlite_test:
|
Sqlite_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -372,7 +372,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -402,7 +402,7 @@ jobs:
|
|||||||
|
|
||||||
Python_musl_support_test:
|
Python_musl_support_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -416,7 +416,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -473,7 +473,7 @@ jobs:
|
|||||||
|
|
||||||
Openvino_test:
|
Openvino_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -487,7 +487,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -541,7 +541,7 @@ jobs:
|
|||||||
|
|
||||||
Grpc_test:
|
Grpc_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -555,7 +555,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -631,7 +631,7 @@ jobs:
|
|||||||
|
|
||||||
Gvisor_test:
|
Gvisor_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -645,7 +645,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -739,7 +739,7 @@ jobs:
|
|||||||
|
|
||||||
Test_deb_deploy:
|
Test_deb_deploy:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -753,7 +753,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: false
|
submodules: false
|
||||||
@ -780,7 +780,7 @@ jobs:
|
|||||||
# Tensorflow_serving requires binary tensorflow_serving PIC, here we compile tensorflow_model_server before workflow
|
# Tensorflow_serving requires binary tensorflow_serving PIC, here we compile tensorflow_model_server before workflow
|
||||||
Tensorflow_serving_test:
|
Tensorflow_serving_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -795,7 +795,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -860,7 +860,7 @@ jobs:
|
|||||||
|
|
||||||
Remote_attestation_test:
|
Remote_attestation_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -874,7 +874,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -900,7 +900,7 @@ jobs:
|
|||||||
|
|
||||||
Init_RA_test:
|
Init_RA_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -914,7 +914,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
@ -954,7 +954,7 @@ jobs:
|
|||||||
|
|
||||||
MySQL_test:
|
MySQL_test:
|
||||||
timeout-minutes: 180
|
timeout-minutes: 180
|
||||||
if: github.event_name == 'push' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
if: github.event_name == 'push' || github.event_name == 'schedule' || ${{ contains(github.event.pull_request.labels.*.name, 'SGX-hardware-test-required') }}
|
||||||
runs-on: ${{ matrix.self_runner }}
|
runs-on: ${{ matrix.self_runner }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -968,7 +968,7 @@ jobs:
|
|||||||
- uses: AutoModality/action-clean@v1
|
- uses: AutoModality/action-clean@v1
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
Loading…
Reference in New Issue
Block a user