Skip to content
Snippets Groups Projects
Unverified Commit 87b259d0 authored by acpaquette's avatar acpaquette Committed by GitHub
Browse files

Merge pull request #36 from acpaquette/main

Update Python Versions to Test
parents 216e9f52 6f426fda
No related branches found
No related tags found
No related merge requests found
......@@ -13,15 +13,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
defaults:
run:
shell: bash -l {0}
env:
SSPICE_DEBUG: y
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
with:
miniconda-version: "latest"
activate-environment: csmswig
......@@ -58,4 +58,4 @@ jobs:
working-directory: ${{github.workspace}}/build/python
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -VV -C $BUILD_TYPE
\ No newline at end of file
run: ctest -VV -C $BUILD_TYPE
cmake_minimum_required(VERSION 3.14)
cmake_minimum_required(VERSION 3.15)
project(swigcsm VERSION 1.0.1 DESCRIPTION "SWIG wrappers for the Community Sensor Model API")
......
......@@ -5,7 +5,11 @@ set_source_files_properties(../csmapi.i
PROPERTIES CPLUSPLUS ON)
#Find dependencies
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
set(Python_FIND_VIRTUALENV FIRST)
set(Python_FIND_REGISTRY LAST)
set(Python_FIND_FRAMEWORK LAST)
set(Python_FIND_STRATEGY LOCATION)
find_package(Python3 REQUIRED COMPONENTS Development)
find_path(CSM_INCLUDE_DIR NAMES csm.h
PATH_SUFFIXES csm)
find_library(CSM_LIBRARY NAMES csmapi)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment