Skip to content

Commit 2b22b75

Browse files
author
Pavel V Chupin
committed
Temporary disable some testing to speed up verification
1 parent 5db8b01 commit 2b22b75

File tree

2 files changed

+122
-121
lines changed

2 files changed

+122
-121
lines changed

.github/workflows/sycl_post_commit.yml

Lines changed: 97 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -21,98 +21,99 @@ jobs:
2121
name: Generate Test Matrix
2222
uses: ./.github/workflows/sycl_gen_test_matrix.yml
2323
with:
24-
lts_config: "l0_gen9;win_l0_gen9"
25-
cts_config: "cuda"
26-
linux_default:
27-
name: Linux Default
28-
needs: test_matrix
29-
uses: ./.github/workflows/sycl_linux_build_and_test.yml
30-
secrets: inherit
31-
with:
32-
build_cache_root: "/__w/llvm"
33-
build_artifact_suffix: "post_commit"
34-
lts_matrix: ${{ needs.test_matrix.outputs.lts_lx_matrix }}
35-
cts_matrix: ${{ needs.test_matrix.outputs.cts_matrix }}
36-
lts_aws_matrix: ${{ needs.test_matrix.outputs.lts_aws_matrix }}
37-
linux_no_assert:
38-
name: Linux (no assert)
39-
uses: ./.github/workflows/sycl_linux_build_and_test.yml
40-
secrets: inherit
41-
with:
42-
build_cache_root: "/__w/llvm"
43-
build_cache_suffix: gcc_no_assertions
44-
build_artifact_suffix: gcc_no_assertions
45-
build_configure_extra_args: --no-assertions
46-
linux_clang_shared_libs:
47-
# TODO use nightly images when Docker containers are available
48-
name: Linux + Clang + Shared libs
49-
runs-on: ubuntu-20.04
50-
if: github.repository == 'intel/llvm'
51-
steps:
52-
- uses: actions/checkout@v3
53-
with:
54-
path: src
55-
- name: Install Ubuntu deps
56-
run: sudo apt install -y ninja-build ccache
57-
- name: Setup Cache
58-
uses: actions/cache@v3
59-
id: cache
60-
with:
61-
path: ${{ github.workspace }}/cache
62-
key: build-linux-shared-libs-${{ github.sha }}
63-
restore-keys: |
64-
build-linux-shared-libs-
65-
- name: Configure
66-
run: |
67-
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
68-
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main"
69-
sudo apt-get update
70-
sudo apt-get install -y clang-15
71-
export CC="clang-15"
72-
export CXX="clang++-15"
73-
mkdir -p $GITHUB_WORKSPACE/build
74-
cd $GITHUB_WORKSPACE/build
75-
python3 $GITHUB_WORKSPACE/src/buildbot/configure.py -w $GITHUB_WORKSPACE \
76-
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t Release \
77-
--ci-defaults --shared-libs --cmake-opt="-DLLVM_CCACHE_BUILD=ON" \
78-
--cmake-opt="-DLLVM_CCACHE_DIR=$GITHUB_WORKSPACE/cache" \
79-
--cmake-opt="-DLLVM_CCACHE_MAXSIZE=2G"
80-
- name: Compile
81-
run: |
82-
python3 $GITHUB_WORKSPACE/src/buildbot/compile.py -w $GITHUB_WORKSPACE \
83-
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build
84-
- name: check-llvm
85-
if: always()
86-
run: |
87-
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
88-
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-llvm
89-
- name: check-clang
90-
if: always()
91-
run: |
92-
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
93-
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-clang
94-
- name: check-sycl
95-
if: always()
96-
run: |
97-
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
98-
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-sycl
99-
- name: check-llvm-spirv
100-
if: always()
101-
run: |
102-
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
103-
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-llvm-spirv
104-
- name: check-xptifw
105-
if: always()
106-
run: |
107-
python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
108-
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-xptifw
109-
- name: Pack
110-
run: tar -czvf llvm_sycl.tar.gz -C $GITHUB_WORKSPACE/build/install .
111-
- name: Upload artifacts
112-
uses: actions/upload-artifact@v3
113-
with:
114-
name: sycl_linux_${{ matrix.config }}
115-
path: llvm_sycl.tar.gz
24+
lts_config: "win_l0_gen9"
25+
# lts_config: "l0_gen9;win_l0_gen9"
26+
# cts_config: "cuda"
27+
# linux_default:
28+
# name: Linux Default
29+
# needs: test_matrix
30+
# uses: ./.github/workflows/sycl_linux_build_and_test.yml
31+
# secrets: inherit
32+
# with:
33+
# build_cache_root: "/__w/llvm"
34+
# build_artifact_suffix: "post_commit"
35+
# lts_matrix: ${{ needs.test_matrix.outputs.lts_lx_matrix }}
36+
# cts_matrix: ${{ needs.test_matrix.outputs.cts_matrix }}
37+
# lts_aws_matrix: ${{ needs.test_matrix.outputs.lts_aws_matrix }}
38+
# linux_no_assert:
39+
# name: Linux (no assert)
40+
# uses: ./.github/workflows/sycl_linux_build_and_test.yml
41+
# secrets: inherit
42+
# with:
43+
# build_cache_root: "/__w/llvm"
44+
# build_cache_suffix: gcc_no_assertions
45+
# build_artifact_suffix: gcc_no_assertions
46+
# build_configure_extra_args: --no-assertions
47+
# linux_clang_shared_libs:
48+
# # TODO use nightly images when Docker containers are available
49+
# name: Linux + Clang + Shared libs
50+
# runs-on: ubuntu-20.04
51+
# if: github.repository == 'intel/llvm'
52+
# steps:
53+
# - uses: actions/checkout@v3
54+
# with:
55+
# path: src
56+
# - name: Install Ubuntu deps
57+
# run: sudo apt install -y ninja-build ccache
58+
# - name: Setup Cache
59+
# uses: actions/cache@v3
60+
# id: cache
61+
# with:
62+
# path: ${{ github.workspace }}/cache
63+
# key: build-linux-shared-libs-${{ github.sha }}
64+
# restore-keys: |
65+
# build-linux-shared-libs-
66+
# - name: Configure
67+
# run: |
68+
# wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
69+
# sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main"
70+
# sudo apt-get update
71+
# sudo apt-get install -y clang-15
72+
# export CC="clang-15"
73+
# export CXX="clang++-15"
74+
# mkdir -p $GITHUB_WORKSPACE/build
75+
# cd $GITHUB_WORKSPACE/build
76+
# python3 $GITHUB_WORKSPACE/src/buildbot/configure.py -w $GITHUB_WORKSPACE \
77+
# -s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t Release \
78+
# --ci-defaults --shared-libs --cmake-opt="-DLLVM_CCACHE_BUILD=ON" \
79+
# --cmake-opt="-DLLVM_CCACHE_DIR=$GITHUB_WORKSPACE/cache" \
80+
# --cmake-opt="-DLLVM_CCACHE_MAXSIZE=2G"
81+
# - name: Compile
82+
# run: |
83+
# python3 $GITHUB_WORKSPACE/src/buildbot/compile.py -w $GITHUB_WORKSPACE \
84+
# -s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build
85+
# - name: check-llvm
86+
# if: always()
87+
# run: |
88+
# python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
89+
# -s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-llvm
90+
# - name: check-clang
91+
# if: always()
92+
# run: |
93+
# python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
94+
# -s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-clang
95+
# - name: check-sycl
96+
# if: always()
97+
# run: |
98+
# python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
99+
# -s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-sycl
100+
# - name: check-llvm-spirv
101+
# if: always()
102+
# run: |
103+
# python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
104+
# -s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-llvm-spirv
105+
# - name: check-xptifw
106+
# if: always()
107+
# run: |
108+
# python3 $GITHUB_WORKSPACE/src/buildbot/check.py -w $GITHUB_WORKSPACE \
109+
# -s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t check-xptifw
110+
# - name: Pack
111+
# run: tar -czvf llvm_sycl.tar.gz -C $GITHUB_WORKSPACE/build/install .
112+
# - name: Upload artifacts
113+
# uses: actions/upload-artifact@v3
114+
# with:
115+
# name: sycl_linux_${{ matrix.config }}
116+
# path: llvm_sycl.tar.gz
116117

117118
windows_default:
118119
name: Windows
@@ -122,7 +123,7 @@ jobs:
122123
with:
123124
lts_matrix: ${{ needs.test_matrix.outputs.lts_wn_matrix }}
124125

125-
macos_default:
126-
name: macOS
127-
if: github.repository == 'intel/llvm'
128-
uses: ./.github/workflows/sycl_macos_build_and_test.yml
126+
# macos_default:
127+
# name: macOS
128+
# if: github.repository == 'intel/llvm'
129+
# uses: ./.github/workflows/sycl_macos_build_and_test.yml

.github/workflows/sycl_windows_build_and_test.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -73,31 +73,31 @@ jobs:
7373
run: |
7474
cmake --build build --target sycl-toolchain
7575
sccache --show-stats
76-
- name: check-llvm
77-
shell: bash
78-
if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
79-
run: |
80-
cmake --build build --target check-llvm
81-
- name: check-clang
82-
if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
83-
shell: bash
84-
run: |
85-
cmake --build build --target check-clang
86-
- name: check-sycl
87-
if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
88-
shell: bash
89-
run: |
90-
cmake --build build --target check-sycl
91-
- name: check-llvm-spirv
92-
if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
93-
shell: bash
94-
run: |
95-
cmake --build build --target check-llvm-spirv
96-
- name: check-xptifw
97-
if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
98-
shell: bash
99-
run: |
100-
cmake --build build --target check-xptifw
76+
# - name: check-llvm
77+
# shell: bash
78+
# if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
79+
# run: |
80+
# cmake --build build --target check-llvm
81+
# - name: check-clang
82+
# if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
83+
# shell: bash
84+
# run: |
85+
# cmake --build build --target check-clang
86+
# - name: check-sycl
87+
# if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
88+
# shell: bash
89+
# run: |
90+
# cmake --build build --target check-sycl
91+
# - name: check-llvm-spirv
92+
# if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
93+
# shell: bash
94+
# run: |
95+
# cmake --build build --target check-llvm-spirv
96+
# - name: check-xptifw
97+
# if: ${{ always() && !cancelled() && steps.build.outcome == 'success' }}
98+
# shell: bash
99+
# run: |
100+
# cmake --build build --target check-xptifw
101101
- name: Install
102102
shell: bash
103103
run: cmake --build build --target deploy-sycl-toolchain

0 commit comments

Comments
 (0)