11name : Seed the cache for ock builds
22on :
3- # pull_request:
4- # paths:
5- # - '.github/workflows/pr_tests_cache.yml'
3+ pull_request :
4+ paths :
5+ - ' .github/workflows/pr_tests_cache.yml'
66 push :
77 branch : main
88 paths :
@@ -31,43 +31,43 @@ concurrency:
3131permissions :
3232 actions : write
3333jobs :
34- ubuntu_22_llvm_prev_jobs :
35- if : github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule'
36- runs-on : ubuntu-22.04
37- container :
38- image : ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest
39- volumes :
40- - ${{github.workspace}}:${{github.workspace}}
41- steps :
42- - name : Checkout repo
43- uses : actions/checkout@v4
44-
45- - name : setup ubuntu
46- uses : ./.github/actions/setup_build
47- with :
48- llvm_version : ${{ env.llvm_previous }}
49- llvm_build_type : RelAssert
50- save : true
51- llvm_source : install
52-
53- - name : build host_x86_64
54- uses : ./.github/actions/do_build_pr/run_host_x86_64
55- with :
56- cache_seed : true
57-
58- - name : build riscv M1
59- uses : ./.github/actions/do_build_pr/run_riscv_m1
60- with :
61- cache_seed : true
62-
63- - name : build ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz
64- uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz
65- with :
66- cache_seed : true
34+ # ubuntu_22_llvm_prev_jobs:
35+ # if: github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule'
36+ # runs-on: ubuntu-22.04
37+ # container:
38+ # image: ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest
39+ # volumes:
40+ # - ${{github.workspace}}:${{github.workspace}}
41+ # steps:
42+ # - name: Checkout repo
43+ # uses: actions/checkout@v4
44+
45+ # - name: setup ubuntu
46+ # uses: ./.github/actions/setup_build
47+ # with:
48+ # llvm_version: ${{ env.llvm_previous }}
49+ # llvm_build_type: RelAssert
50+ # save: true
51+ # llvm_source: install
52+
53+ # - name: build host_x86_64
54+ # uses: ./.github/actions/do_build_pr/run_host_x86_64
55+ # with:
56+ # cache_seed: true
57+
58+ # - name: build riscv M1
59+ # uses: ./.github/actions/do_build_pr/run_riscv_m1
60+ # with:
61+ # cache_seed: true
62+
63+ # - name: build ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz
64+ # uses: ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz
65+ # with:
66+ # cache_seed: true
6767
6868 ubuntu_22_llvm_current_jobs :
6969 if : github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule'
70- needs : [ubuntu_22_llvm_prev_jobs]
70+ # needs: [ubuntu_22_llvm_prev_jobs]
7171 runs-on : ubuntu-22.04
7272 container :
7373 image : ghcr.io/uxlfoundation/ock_ubuntu_22.04-x86-64:latest
@@ -85,21 +85,25 @@ jobs:
8585 save : true
8686 llvm_source : install
8787
88- - name : build ubuntu_gcc_x86_64_riscv_fp16_cl3_0
89- uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0
90- with :
91- cache_seed : true
88+ # - name: build ubuntu_gcc_x86_64_riscv_fp16_cl3_0
89+ # uses: ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0
90+ # with:
91+ # cache_seed: true
9292
93- - name : build ubuntu_gcc_x86_llvm_latest_x86_64_images_cl3_0_release
94- uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_llvm_latest_x86_64_images_cl3_0_release
95- with :
96- cache_seed : true
97-
98- - name : build ubuntu_gcc_x86_64_refsi_g1_wi_cl3_0
99- uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_refsi_g1_wi_cl3_0
93+ # - name: build ubuntu_gcc_x86_llvm_latest_x86_64_images_cl3_0_release
94+ # uses: ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_llvm_latest_x86_64_images_cl3_0_release
95+ # with:
96+ # cache_seed: true
97+ # cache_seed: true
98+
99+ # - name: build ubuntu_gcc_x86_64_refsi_g1_wi_cl3_0
100+ # uses: ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_refsi_g1_wi_cl3_0
101+ # with:
102+ # cache_seed: true
103+ - name : build ubuntu_gcc_x86_64_refsi_tutorial
104+ uses : ./.github/actions/do_build_pr/run_ubuntu_gcc_x86_64_refsi_tutorial
100105 with :
101106 cache_seed : true
102-
103107 # aarch 64
104108 ubuntu_22_llvm_current_aarch64_jobs :
105109 if : github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule'
@@ -127,49 +131,49 @@ jobs:
127131 with :
128132 cache_seed : true
129133
130- windows_llvm_current_jobs :
131- if : github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule'
132- runs-on : windows-2019
133- steps :
134- - name : Setup Windows llvm base
135- uses : llvm/actions/setup-windows@main
136- with :
137- arch : amd64
138-
139- - name : Checkout repo
140- uses : actions/checkout@v4
141-
142- # installs tools, ninja, installs llvm and sets up ccache
143- - name : setup-windows
144- uses : ./.github/actions/setup_build
145- with :
146- llvm_version : ${{ env.llvm_current }}
147- llvm_build_type : RelAssert
148- save : true
149- os : windows
150- llvm_source : install
151- - name : build windows_msvc_x86_64_llvm_latest_cl3_0_offline
152- uses : ./.github/actions/do_build_pr/run_windows_msvc_x86_64_llvm_latest_cl3_0_offline
153- with :
154- cache_seed : true
134+ # windows_llvm_current_jobs:
135+ # if: github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule'
136+ # runs-on: windows-2019
137+ # steps:
138+ # - name: Setup Windows llvm base
139+ # uses: llvm/actions/setup-windows@main
140+ # with:
141+ # arch: amd64
142+
143+ # - name: Checkout repo
144+ # uses: actions/checkout@v4
145+
146+ # # installs tools, ninja, installs llvm and sets up ccache
147+ # - name: setup-windows
148+ # uses: ./.github/actions/setup_build
149+ # with:
150+ # llvm_version: ${{ env.llvm_current }}
151+ # llvm_build_type: RelAssert
152+ # save: true
153+ # os: windows
154+ # llvm_source: install
155+ # - name: build windows_msvc_x86_64_llvm_latest_cl3_0_offline
156+ # uses: ./.github/actions/do_build_pr/run_windows_msvc_x86_64_llvm_latest_cl3_0_offline
157+ # with:
158+ # cache_seed: true
155159
156160
157161 # The following tries to delete old caches but fails on the branch due to permissions errors
158162 # Look to uncomment in the future.
159163
160- clean_cache :
161- if : github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule'
162- needs : [ubuntu_22_llvm_current_aarch64_jobs, windows_llvm_current_jobs]
163- runs-on : ubuntu-latest
164- permissions :
165- actions : write
166- steps :
167- - name : Checkout repo
168- uses : actions/checkout@v4
169- with :
170- sparse-checkout : .github
171- - name : Cache clean
172- uses : ./.github/actions/clean_cache
173- with :
174- token : ${{ secrets.GITHUB_TOKEN }}
175- cache_prefixes : " ccache-ccache-build-ubuntu ccache-ccache-build-windows"
164+ # clean_cache:
165+ # if: github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name != 'schedule'
166+ # needs: [ubuntu_22_llvm_current_aarch64_jobs, windows_llvm_current_jobs]
167+ # runs-on: ubuntu-latest
168+ # permissions:
169+ # actions: write
170+ # steps:
171+ # - name: Checkout repo
172+ # uses: actions/checkout@v4
173+ # with:
174+ # sparse-checkout: .github
175+ # - name: Cache clean
176+ # uses: ./.github/actions/clean_cache
177+ # with:
178+ # token: ${{ secrets.GITHUB_TOKEN }}
179+ # cache_prefixes: "ccache-ccache-build-ubuntu ccache-ccache-build-windows"
0 commit comments