Skip to content

Commit

Permalink
Adding step to create build directories
Browse files Browse the repository at this point in the history
Signed-off-by: Luc Berger-Vergiat <[email protected]>
  • Loading branch information
lucbv committed Jan 24, 2025
1 parent c34c727 commit 7f2e5fa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@ jobs:
with:
repository: kokkos/mdspan
path: mdspan-src


- name: create directories
run: cmake -E make_directory mdspan-build
run: cmake -E make_directory stdblas-build

- name: Configure mdspan
working-directory: mdspan-build
run: cmake -S $GITHUB_WORKSPACE/mdspan-src -B $GITHUB_WORKSPACE/mdspan-build -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/mdspan-install

- name: Build mdspan
working-directory: mdspan-build
run: cmake --build $GITHUB_WORKSPACE/mdspan-build -j 3

- name: Install mdspan
working-directory: mdspan-build
run: cmake --install $GITHUB_WORKSPACE/mdspan-build
Expand All @@ -33,7 +37,7 @@ jobs:
uses: actions/checkout@v4
with:
path: stdblas-src

- name: Configure stdblas
shell: bash
working-directory: stdblas-build
Expand Down

0 comments on commit 7f2e5fa

Please sign in to comment.