Skip to content

Commit 110d784

Browse files
authored
Test against POCL main (#589)
1 parent 31937c5 commit 110d784

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,17 @@ jobs:
3636
os: ubuntu-latest
3737
arch: x64
3838
pocl: local
39-
allow_failure: true
39+
allow_failure: false
4040
- version: '1.11'
4141
os: ubuntu-latest
4242
arch: x64
4343
pocl: local
4444
allow_failure: false
45+
- version: '1.12'
46+
os: ubuntu-latest
47+
arch: x64
48+
pocl: local
49+
allow_failure: false
4550
# - version: 'nightly'
4651
# os: ubuntu-latest
4752
# arch: x64
@@ -60,11 +65,9 @@ jobs:
6065
#
6166
steps:
6267
- uses: actions/checkout@v4
63-
- uses: julia-actions/setup-julia@v2
68+
- uses: julia-actions/install-juliaup@v2
6469
with:
65-
version: ${{ matrix.version }}
66-
arch: ${{ matrix.arch }}
67-
show-versioninfo: true
70+
channel: ${{ matrix.version }}
6871
- uses: julia-actions/cache@v2
6972
- name: Checkout pocl
7073
if: ${{ matrix.pocl == 'local' }}
@@ -92,9 +95,8 @@ jobs:
9295
"CMake_jll",
9396
])
9497
# versioned
95-
llvm_version = "$(Base.libllvm_version.major).$(Base.libllvm_version.minor)"
96-
Pkg.add(name="LLVM_full_jll", version=llvm_version)
97-
Pkg.add(name="SPIRV_LLVM_Translator_jll", version=llvm_version)'
98+
Pkg.add(name="LLVM_full_jll", version="20")
99+
Pkg.add(name="SPIRV_LLVM_Translator_jll", version="20")'
98100
- name: Build PoCL
99101
if: ${{ matrix.pocl == 'local' }}
100102
run: |
@@ -119,6 +121,7 @@ jobs:
119121
-DCMAKE_C_FLAGS="-fdiagnostics-color=always"
120122
-DCMAKE_BUILD_TYPE=Debug
121123
-DENABLE_TESTS:Bool=OFF
124+
-DSTATIC_LLVM:Bool=On
122125
-DPOCL_DEBUG_MESSAGES:Bool=ON
123126
-DCMAKE_INSTALL_PREFIX=$destdir
124127
-DWITH_LLVM_CONFIG=$(LLVM_full_jll.artifact_dir)/tools/llvm-config

0 commit comments

Comments
 (0)