Skip to content

Commit a4e00d4

Browse files
committed
fix pika.yml
1 parent 623e0fa commit a4e00d4

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/pika.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,13 @@ jobs:
204204
echo "Cleaning up object files to save space..."
205205
find ./build -name "*.o" -type f -delete
206206
find ./build -name "*.a" -type f -delete
207-
echo "Cleaning up object files (.o) and static libs (.a)..."
208-
find ./build -name "*.o" -type f -delete
209-
find ./build -name "*.a" -type f -delete
210207
211208
echo "Stripping debug symbols from binaries..."
212209
find ./build -type f -executable -not -name "*.sh" -exec strip --strip-debug {} \; || true
210+
rm -rf .git
211+
rm -rf src
212+
rm -rf include
213+
rm -rf docs
213214
214215
- name: Test
215216
working-directory: ${{ github.workspace }}/build
@@ -238,7 +239,7 @@ jobs:
238239
239240
build_on_macos:
240241

241-
runs-on: macos-13
242+
runs-on: macos-14
242243

243244
steps:
244245
- uses: actions/checkout@v4
@@ -251,17 +252,18 @@ jobs:
251252
- name: ccache
252253
uses: hendrikmuhs/[email protected]
253254
with:
254-
key: macos-13
255+
key: macos-14
255256

256257
- name: Install Deps
257258
run: |
258259
brew list --versions cmake && brew uninstall --ignore-dependencies --force cmake || true
259-
brew install gcc@10 automake cmake make binutils
260+
brew install gcc@13 automake cmake make binutils
260261
261262
- name: Configure CMake
262263
run: |
263-
export CC=/usr/local/opt/gcc@10/bin/gcc-10
264-
cmake -B build -DCMAKE_C_COMPILER=/usr/local/opt/gcc@10/bin/gcc-10 -DUSE_PIKA_TOOLS=ON -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_CXX_FLAGS_DEBUG=-fsanitize=address -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
264+
GCC_PREFIX=$(brew --prefix gcc@13)
265+
export CC=$GCC_PREFIX/bin/gcc-13
266+
cmake -B build -DCMAKE_C_COMPILER=$GCC_PREFIX/bin/gcc-13 -DUSE_PIKA_TOOLS=ON -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} -DCMAKE_CXX_FLAGS_DEBUG=-fsanitize=address -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
265267
266268
- name: Build
267269
run: |

0 commit comments

Comments
 (0)