Skip to content

Commit

Permalink
Enable python in action builds
Browse files Browse the repository at this point in the history
  • Loading branch information
etphipp authored Aug 15, 2024
1 parent 42b3db7 commit ba67025
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pyttb
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
Expand All @@ -57,6 +68,7 @@ jobs:
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DKokkos_ENABLE_OPENMP=${{ matrix.openmp }}
-DKokkos_ENABLE_SERIAL=${{ matrix.serial }}
-DENABLE_PYTHON=ON
-S ${{ github.workspace }}
- name: Build
Expand Down

0 comments on commit ba67025

Please sign in to comment.