Skip to content

Commit

Permalink
Updated github actions 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjaraujo committed Dec 21, 2024
1 parent 6ff2cb4 commit fbd514e
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
platform: [windows-2022, ubuntu-22.04]
arch: [x64]
python-version: ['3.10.x', '3.11.x', '3.12.x', '3.13.x']
python-version: ['3.10.x']

# The CMake configure and build commands are platform agnostic and should work equally
# well on Windows or Mac. You can convert this to a matrix build if you need
Expand Down Expand Up @@ -42,22 +42,6 @@ jobs:
# We'll use this as our working directory for all subsequent commands
run: cmake -E make_directory ${{runner.workspace}}/build

- name: Configure Project x32
if: matrix.arch == 'x86'
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
shell: bash
working-directory: ${{runner.workspace}}/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
cmake $GITHUB_WORKSPACE/trunk -A Win32 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DENIGMA_BUILD_UNIT_TESTS:BOOL=ON -DENIGMA_BUILD_WRAPPERS_SWIG:BOOL=ON -DWRAP_SWIG_PYTHON:BOOL=ON -DWRAP_SWIG_CSHARP:BOOL=ON -DENIGMA_PYTHON_VERSION=${{matrix.python-version}} -DSWIG_EXECUTABLE=$GITHUB_WORKSPACE/swigwin-4.0.2/swig.exe
else
cmake $GITHUB_WORKSPACE/trunk -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DENIGMA_BUILD_UNIT_TESTS:BOOL=ON -DENIGMA_BUILD_WRAPPERS_SWIG:BOOL=ON -DWRAP_SWIG_PYTHON:BOOL=ON -DENIGMA_PYTHON_VERSION=${{matrix.python-version}}
fi
- name: Configure Project x64
if: matrix.arch == 'x64'
# Use a bash shell so we can use the same syntax for environment variable
Expand Down

0 comments on commit fbd514e

Please sign in to comment.