diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cad00deb..d9e0e3d8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -15,6 +15,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + submodules: recursive - name: Configure system run: | @@ -22,11 +24,14 @@ jobs: gfortran-14 --version - name: Configure CMake - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: FC=gfortran-14 cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} --install-prefix=$HOME - name: Build run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} + - name: Install + run: make -C ${{github.workspace}}/build install # run: cmake --install ${{github.workspace}}/build --prefix $HOME/.local + - name: Test working-directory: ${{github.workspace}}/build run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure