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

Commit f2673a0

Browse files
Lichtsodmakarov
andcommitted
[SOL] Fix Github Actions (#2)
* In Github actions: master => main * Customize enabled projects and targets for llvm in github workflows Co-authored-by: Dmitri Makarov <[email protected]>
1 parent 938fb7e commit f2673a0

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.github/workflows/clang-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
os:
2525
- ubuntu-latest
26-
- windows-latest
26+
# - windows-latest
2727
- macOS-latest
2828
steps:
2929
- name: Setup Windows
@@ -39,5 +39,5 @@ jobs:
3939
- name: Test clang
4040
uses: llvm/actions/build-test-llvm-project@main
4141
with:
42-
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release
42+
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD='X86;BPF'
4343
build_target: check-clang

.github/workflows/lld-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
matrix:
2424
os:
2525
- ubuntu-latest
26-
- windows-latest
26+
# - windows-latest
2727
- macOS-latest
2828
steps:
2929
- name: Setup Windows
@@ -39,5 +39,5 @@ jobs:
3939
- name: Test lld
4040
uses: llvm/actions/build-test-llvm-project@main
4141
with:
42-
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="lld" -DCMAKE_BUILD_TYPE=Release
42+
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="lld" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD='X86;BPF'
4343
build_target: check-lld

.github/workflows/llvm-tests.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
os:
2323
- ubuntu-latest
24-
- windows-latest
24+
# - windows-latest
2525
- macOS-latest
2626
steps:
2727
- name: Setup Windows
@@ -37,9 +37,11 @@ jobs:
3737
- name: Test llvm
3838
uses: llvm/actions/build-test-llvm-project@main
3939
with:
40-
cmake_args: -G Ninja -DCMAKE_BUILD_TYPE=Release
40+
cmake_args: -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS='clang;lld' -DLLVM_TARGETS_TO_BUILD='X86;BPF'
4141

42+
# disable ABI compare
4243
abi-dump-setup:
44+
if: false
4345
runs-on: ubuntu-latest
4446
outputs:
4547
BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }}
@@ -70,6 +72,7 @@ jobs:
7072
fi
7173
7274
abi-dump:
75+
if: false
7376
needs: abi-dump-setup
7477
runs-on: ubuntu-latest
7578
strategy:
@@ -140,6 +143,7 @@ jobs:
140143
path: llvm.symbols
141144

142145
abi-compare:
146+
if: false
143147
runs-on: ubuntu-latest
144148
needs:
145149
- abi-dump-setup

0 commit comments

Comments
 (0)