diff --git a/.github/workflows/tests-macos.yml b/.github/workflows/tests-macos.yml index 0e755dea8..81aa30aaf 100644 --- a/.github/workflows/tests-macos.yml +++ b/.github/workflows/tests-macos.yml @@ -58,12 +58,13 @@ jobs: CXX: ${{matrix.backend.cxx_compiler}} CMAKE_BUILD_TYPE: ${{matrix.cmake_build_type}} steps: - - name: Checkout built branch - uses: actions/checkout@v4 - with: { submodules: true } + - uses: actions/checkout@v4 + with: + repository: pdidev/pdi + ref: 1.8.1 + path: pdi - name: Install PDI+user code plugin and dependencies run: | - git clone --branch 1.8.1 --depth 1 https://github.com/pdidev/pdi.git # PATCH: remove for macOS sed -i.bak 's|#include ||g' pdi/plugins/user_code/user_code.cxx rm -f pdi/plugins/user_code/user_code.cxx.bak @@ -96,10 +97,13 @@ jobs: run: brew install googletest - name: Install Google benchmark run: brew install google-benchmark - - run: git config --global --add safe.directory '*' + - uses: actions/checkout@v4 + with: + repository: ginkgo-project/ginkgo + ref: v1.8.0 + path: ginkgo - name: Install Ginkgo run: | - git clone --branch v1.8.0 --depth 1 https://github.com/ginkgo-project/ginkgo.git cmake \ -DCMAKE_CXX_STANDARD=${{matrix.cxx_version}} \ -DGINKGO_BUILD_BENCHMARKS=OFF \ @@ -112,6 +116,11 @@ jobs: cmake --build build cmake --install build --prefix $Ginkgo_ROOT rm -rf build + - uses: actions/checkout@v4 + with: + repository: kokkos/kokkos + ref: 4.5.01 + path: kokkos - name: Install Kokkos run: | cmake \ @@ -121,20 +130,30 @@ jobs: -DKokkos_ENABLE_SERIAL=ON \ ${{matrix.backend.kokkos_extra_cmake_flags}} \ -B build \ - -S ./vendor/kokkos + -S ./kokkos cmake --build build cmake --install build --prefix $Kokkos_ROOT rm -rf build + - uses: actions/checkout@v4 + with: + repository: kokkos/kokkos-fft + ref: v0.2.1 + path: kokkos-fft - name: Install Kokkos-fft run: | cmake \ -DCMAKE_CXX_STANDARD=${{matrix.cxx_version}} \ -DKokkosFFT_ENABLE_HOST_AND_DEVICE=ON \ -B build \ - -S ./vendor/kokkos-fft + -S ./kokkos-fft cmake --build build cmake --install build --prefix $KokkosFFT_ROOT rm -rf build + - uses: actions/checkout@v4 + with: + repository: kokkos/kokkos-kernels + ref: 4.5.01 + path: kokkos-kernels - name: Install Kokkos Kernels run: | cmake \ @@ -148,10 +167,12 @@ jobs: -DKokkosKernels_ENABLE_TPL_CUSOLVER=OFF \ -DKokkosKernels_ENABLE_TPL_LAPACK=OFF \ -B build \ - -S ./vendor/kokkos-kernels + -S ./kokkos-kernels cmake --build build cmake --install build --prefix $KokkosKernels_ROOT rm -rf build + - name: Checkout built branch + uses: actions/checkout@v4 - name: Build DDC run: | cmake \