Skip to content

Commit

Permalink
CI: switch Alpine 32bit to Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed May 23, 2024
1 parent 153b819 commit 7051a9e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/alpine_32bit/Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RUN apk add \
brunsli-dev \
ccache \
cfitsio-dev \
clang \
cmake \
curl-dev \
expat-dev \
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/alpine_32bit/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ set -e

cmake ${GDAL_SOURCE_DIR:=..} \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_SHARED_LINKER_FLAGS="-lstdc++" \
-DUSE_CCACHE=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DIconv_INCLUDE_DIR=/usr/include/gnu-libiconv \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
build_script: build.sh
os: ubuntu-22.04

- name: Alpine, gcc 32-bit
- name: Alpine, clang 32-bit
id: alpine_32bit
container: alpine_32bit
build_script: build.sh
Expand Down

0 comments on commit 7051a9e

Please sign in to comment.