Skip to content

Commit 1971f42

Browse files
committed
ci: Don't install eigenpy to test it in Windows
1 parent fc854f2 commit 1971f42

File tree

7 files changed

+144
-24
lines changed

7 files changed

+144
-24
lines changed

.github/workflows/check-changelog.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: Check-changelog
1+
name: CI - Check-changelog
2+
23
on:
34
pull_request:
45
types: [assigned, opened, synchronize, reopened, labeled, unlabeled, edited]

.github/workflows/jrl-cmakemodules.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
1-
name: JRL-cmakemodules
2-
on: [push,pull_request]
1+
name: CI - JRL-cmakemodules
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'doc/**'
7+
- '.gitlab-ci.yml'
8+
- '.gitignore'
9+
- '*.md'
10+
- 'LICENSE'
11+
- 'colcon.pkg'
12+
- '.pre-commit-config.yaml'
13+
pull_request:
14+
paths-ignore:
15+
- 'doc/**'
16+
- '.gitlab-ci.yml'
17+
- '.gitignore'
18+
- '*.md'
19+
- 'LICENSE'
20+
- 'colcon.pkg'
21+
- '.pre-commit-config.yaml'
322
concurrency:
423
group: ${{ github.workflow }}-${{ github.ref }}
524
cancel-in-progress: true

.github/workflows/linux.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
1-
name: Check build on linux
1+
name: CI - Linux via APT
22

3-
on: ["push", "pull_request"]
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'doc/**'
7+
- '.gitlab-ci.yml'
8+
- '.gitignore'
9+
- '*.md'
10+
- 'LICENSE'
11+
- 'colcon.pkg'
12+
- '.pre-commit-config.yaml'
13+
pull_request:
14+
paths-ignore:
15+
- 'doc/**'
16+
- '.gitlab-ci.yml'
17+
- '.gitignore'
18+
- '*.md'
19+
- 'LICENSE'
20+
- 'colcon.pkg'
21+
- '.pre-commit-config.yaml'
422
concurrency:
523
group: ${{ github.workflow }}-${{ github.ref }}
624
cancel-in-progress: true

.github/workflows/macos-linux-conda.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
1-
name: Conda-CI
2-
3-
on: [push,pull_request]
1+
name: CI - OSX/Linux via Conda
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'doc/**'
7+
- '.gitlab-ci.yml'
8+
- '.gitignore'
9+
- '*.md'
10+
- 'LICENSE'
11+
- 'colcon.pkg'
12+
- '.pre-commit-config.yaml'
13+
pull_request:
14+
paths-ignore:
15+
- 'doc/**'
16+
- '.gitlab-ci.yml'
17+
- '.gitignore'
18+
- '*.md'
19+
- 'LICENSE'
20+
- 'colcon.pkg'
21+
- '.pre-commit-config.yaml'
422
concurrency:
523
group: ${{ github.workflow }}-${{ github.ref }}
624
cancel-in-progress: true
@@ -42,7 +60,7 @@ jobs:
4260
with:
4361
submodules: recursive
4462

45-
- uses: actions/cache@v3
63+
- uses: actions/cache@v4
4664
with:
4765
path: .ccache
4866
key: ccache-macos-linux-conda-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.python-version }}-${{ github.sha }}

.github/workflows/reloc.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
1-
name: Ensure relocatable
1+
name: CI - Ensure relocatable
22

3-
on: [push,pull_request]
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'doc/**'
7+
- '.gitlab-ci.yml'
8+
- '.gitignore'
9+
- '*.md'
10+
- 'LICENSE'
11+
- 'colcon.pkg'
12+
- '.pre-commit-config.yaml'
13+
pull_request:
14+
paths-ignore:
15+
- 'doc/**'
16+
- '.gitlab-ci.yml'
17+
- '.gitignore'
18+
- '*.md'
19+
- 'LICENSE'
20+
- 'colcon.pkg'
21+
- '.pre-commit-config.yaml'
422
concurrency:
523
group: ${{ github.workflow }}-${{ github.ref }}
624
cancel-in-progress: true

.github/workflows/ros_ci.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git).
22
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst)
33

4-
name: ROS-CI
4+
name: CI - Linux via ROS
55

66
# This determines when this workflow is run
7-
on: [push, pull_request] # on all pushes and PRs
7+
on:
8+
push:
9+
paths-ignore:
10+
- 'doc/**'
11+
- '.gitlab-ci.yml'
12+
- '.gitignore'
13+
- '*.md'
14+
- 'LICENSE'
15+
- 'colcon.pkg'
16+
- '.pre-commit-config.yaml'
17+
pull_request:
18+
paths-ignore:
19+
- 'doc/**'
20+
- '.gitlab-ci.yml'
21+
- '.gitignore'
22+
- '*.md'
23+
- 'LICENSE'
24+
- 'colcon.pkg'
25+
- '.pre-commit-config.yaml'
826
concurrency:
927
group: ${{ github.workflow }}-${{ github.ref }}
1028
cancel-in-progress: true

.github/workflows/windows-conda.yml

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
1-
name: Build Eigenpy on Windows via Conda
2-
on: [push,pull_request]
1+
name: CI - Windows via Conda
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- 'doc/**'
7+
- '.gitlab-ci.yml'
8+
- '.gitignore'
9+
- '*.md'
10+
- 'LICENSE'
11+
- 'colcon.pkg'
12+
- '.pre-commit-config.yaml'
13+
pull_request:
14+
paths-ignore:
15+
- 'doc/**'
16+
- '.gitlab-ci.yml'
17+
- '.gitignore'
18+
- '*.md'
19+
- 'LICENSE'
20+
- 'colcon.pkg'
21+
- '.pre-commit-config.yaml'
322
concurrency:
423
group: ${{ github.workflow }}-${{ github.ref }}
524
cancel-in-progress: true
@@ -17,12 +36,19 @@ jobs:
1736
fail-fast: false
1837
matrix:
1938
os: [windows-latest]
39+
compiler: ["cl", "clang-cl"]
2040

2141
steps:
2242
- uses: actions/checkout@v4
2343
with:
2444
submodules: recursive
2545

46+
- uses: actions/cache@v4
47+
with:
48+
path: .ccache
49+
key: ccache-windows-conda-${{ matrix.os }}-${{ github.sha }}
50+
restore-keys: ccache-windows-conda-${{ matrix.os }}-
51+
2652
- uses: conda-incubator/setup-miniconda@v3
2753
with:
2854
activate-environment: eigenpy
@@ -31,15 +57,14 @@ jobs:
3157
python-version: "3.10"
3258
auto-activate-base: false
3359

34-
- uses: actions/cache@v3
35-
with:
36-
path: .ccache
37-
key: ccache-windows-conda-${{ matrix.os }}-${{ github.sha }}
38-
restore-keys: ccache-windows-conda-${{ matrix.os }}-
39-
4060
- name: Build Eigenpy
4161
shell: cmd /C CALL {0}
62+
env:
63+
CC: ${{ matrix.compiler }}
64+
CXX: ${{ matrix.compiler }}
4265
run: |
66+
call conda list
67+
4368
:: start building
4469
call "%programfiles%\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
4570
if errorlevel 1 exit 1
@@ -57,14 +82,17 @@ jobs:
5782
..
5883
if errorlevel 1 exit 1
5984
60-
:: Build and Install
61-
cmake --build . -j3 --config Release --target install
85+
:: Build
86+
cmake --build . -j3
6287
if errorlevel 1 exit 1
6388
6489
:: Testing
65-
ctest --output-on-failure -C Release -V
90+
ctest --output-on-failure
6691
if errorlevel 1 exit 1
6792
93+
:: Install
94+
cmake --install .
95+
6896
:: Test Python import
6997
cd ..
7098
python -c "import eigenpy"

0 commit comments

Comments
 (0)