Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Swigcsm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aflab
astrogeology
Swigcsm
Commits
87b259d0
Unverified
Commit
87b259d0
authored
1 year ago
by
acpaquette
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #36 from acpaquette/main
Update Python Versions to Test
parents
216e9f52
6f426fda
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/ctests.yml
+4
-4
4 additions, 4 deletions
.github/workflows/ctests.yml
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
python/CMakeLists.txt
+5
-1
5 additions, 1 deletion
python/CMakeLists.txt
with
10 additions
and
6 deletions
.github/workflows/ctests.yml
+
4
−
4
View file @
87b259d0
...
...
@@ -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
This diff is collapsed.
Click to expand it.
CMakeLists.txt
+
1
−
1
View file @
87b259d0
cmake_minimum_required
(
VERSION 3.1
4
)
cmake_minimum_required
(
VERSION 3.1
5
)
project
(
swigcsm VERSION 1.0.1 DESCRIPTION
"SWIG wrappers for the Community Sensor Model API"
)
...
...
This diff is collapsed.
Click to expand it.
python/CMakeLists.txt
+
5
−
1
View file @
87b259d0
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment