Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
eigenpy
Commits
23c760b0
Verified
Commit
23c760b0
authored
Apr 16, 2021
by
Justin Carpentier
Browse files
ci: add macos/linux via Conda
parent
503d7d6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/macos-linux-conda.yml
0 → 100644
View file @
23c760b0
name
:
CI - EigenPy for Mac OS X/Linux via Conda
on
:
[
push
,
pull_request
]
jobs
:
eigenpy-conda
:
name
:
CI - EigenPy on ${{ matrix.os }} via Conda
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[
"
ubuntu-latest"
,
"
macos-latest"
]
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Checkout submodules
run
:
|
git submodule update --init
-
uses
:
conda-incubator/setup-miniconda@v2
with
:
activate-environment
:
eigenpy
auto-update-conda
:
true
environment-file
:
.github/workflows/conda/environment.yml
python-version
:
3.8
-
name
:
Install cmake and update conda
shell
:
bash -l {0}
run
:
|
conda activate eigenpy
conda install cmake -c main
-
name
:
Build EigenPy
shell
:
bash -l {0}
run
:
|
conda activate eigenpy
echo $CONDA_PREFIX
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3)
make
make build_tests
export CTEST_OUTPUT_ON_FAILURE=1
make test
make install
-
name
:
Uninstall EigenPy
shell
:
bash -l {0}
run
:
|
cd build
make uninstall
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment