6969 DOCKER_VOLUME_PREFIX : " .docker/"
7070
7171jobs :
72- docker-targets :
73- name : Docker targets
74- runs-on : ubuntu-latest
75- outputs :
76- targets : ${{ steps.detect-targets.outputs.targets }}
77- steps :
78- - name : Detect targets
79- id : detect-targets
80- run : |
81- echo "targets<<JSON" >> "$GITHUB_OUTPUT"
82- echo "[" >> "$GITHUB_OUTPUT"
83- cat <<JSON >> "$GITHUB_OUTPUT"
84- {
85- "arch": "amd64",
86- "clang-tools": "14",
87- "image": "conda-cpp",
88- "llvm": "14",
89- "runs-on": "ubuntu-latest",
90- "simd-level": "AVX2",
91- "title": "AMD64 Conda C++ AVX2",
92- "ubuntu": "22.04"
93- },
94- {
95- "arch": "amd64",
96- "clang-tools": "14",
97- "image": "ubuntu-cpp-sanitizer",
98- "llvm": "14",
99- "runs-on": "ubuntu-latest",
100- "title": "AMD64 Ubuntu 22.04 C++ ASAN UBSAN",
101- "ubuntu": "22.04"
102- }
103- JSON
104- if [ "$GITHUB_REPOSITORY_OWNER" = "apache" ]; then
105- echo "," >> "$GITHUB_OUTPUT"
106- cat <<JSON >> "$GITHUB_OUTPUT"
107- {
108- "arch": "arm64v8",
109- "clang-tools": "10",
110- "image": "ubuntu-cpp",
111- "llvm": "10",
112- "runs-on": ["self-hosted", "arm", "linux"],
113- "title": "ARM64 Ubuntu 20.04 C++",
114- "ubuntu": "20.04"
115- }
116- JSON
117- fi
118- echo "]" >> "$GITHUB_OUTPUT"
119- echo "JSON" >> "$GITHUB_OUTPUT"
120-
12172 docker :
12273 name : ${{ matrix.title }}
123- needs : docker-targets
12474 runs-on : ${{ matrix.runs-on }}
12575 if : ${{ !contains(github.event.pull_request.title, 'WIP') }}
12676 timeout-minutes : 75
12777 strategy :
12878 fail-fast : false
12979 matrix :
130- include : ${{ fromJson(needs.docker-targets.outputs.targets) }}
80+ include :
81+ - arch : amd64
82+ clang-tools : 14
83+ image : conda-cpp
84+ llvm : 14
85+ runs-on : ubuntu-latest
86+ simd-level : AVX2
87+ title : AMD64 Conda C++ AVX2
88+ ubuntu : 22.04
89+ - arch : amd64
90+ clang-tools : 14
91+ image : ubuntu-cpp-sanitizer
92+ llvm : 14
93+ runs-on : ubuntu-latest
94+ title : AMD64 Ubuntu 22.04 C++ ASAN UBSAN
95+ ubuntu : 22.04
96+ - arch : arm64v8
97+ clang-tools : 14
98+ image : ubuntu-cpp
99+ llvm : 14
100+ runs-on : ubuntu-24.04-arm
101+ title : ARM64 Ubuntu 22.04 C++
102+ ubuntu : 22.04
131103 env :
132104 ARCH : ${{ matrix.arch }}
133105 ARROW_SIMD_LEVEL : ${{ matrix.simd-level }}
@@ -141,15 +113,15 @@ jobs:
141113 fetch-depth : 0
142114 submodules : recursive
143115 - name : Cache Docker Volumes
144- uses : actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
116+ uses : actions/cache@v4
145117 with :
146118 path : .docker
147119 key : ${{ matrix.image }}-${{ hashFiles('cpp/**') }}
148120 restore-keys : ${{ matrix.image }}-
149121 - name : Setup Python on hosted runner
150122 if : |
151123 matrix.runs-on == 'ubuntu-latest'
152- uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3 .0
124+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4 .0
153125 with :
154126 python-version : 3
155127 - name : Setup Python on self-hosted runner
@@ -184,7 +156,7 @@ jobs:
184156
185157 build-example :
186158 name : C++ Minimal Build Example
187- runs-on : ubuntu-latest
159+ runs-on : ubuntu-24.04
188160 if : ${{ !contains(github.event.pull_request.title, 'WIP') }}
189161 timeout-minutes : 45
190162 steps :
@@ -262,7 +234,7 @@ jobs:
262234 $(brew --prefix bash)/bin/bash \
263235 ci/scripts/install_minio.sh latest ${ARROW_HOME}
264236 - name : Set up Python
265- uses : actions/setup-python@v5.3 .0
237+ uses : actions/setup-python@v5.4 .0
266238 with :
267239 python-version : 3.12
268240 - name : Install Google Cloud Storage Testbench
@@ -481,7 +453,7 @@ jobs:
481453 https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELEASE.2024-09-13T20-26-02Z
482454 chmod +x /usr/local/bin/minio.exe
483455 - name : Set up Python
484- uses : actions/setup-python@v5.3 .0
456+ uses : actions/setup-python@v5.4 .0
485457 id : python-install
486458 with :
487459 python-version : 3.9
0 commit comments