Skip to content

Commit 32aeb12

Browse files
committed
wip
1 parent 55b424b commit 32aeb12

File tree

3 files changed

+16
-37
lines changed

3 files changed

+16
-37
lines changed

.github/workflows/linux.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@ jobs:
2020
steps:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
23+
2324
- name: Create build environment
2425
uses: mamba-org/setup-micromamba@v2
2526
with:
2627
environment-file: ./environment-dev.yml
2728
environment-name: build_env
2829
cache-environment: true
30+
2931
- name: Install external dependencies
3032
run: micromamba install -n build_env -y -f ./environment-dev.yml
33+
3134
- name: Build sparrow-ipc
3235
run: |
3336
cmake -B build/ -G Ninja \
@@ -36,6 +39,7 @@ jobs:
3639
-DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} \
3740
-DSPARROW_IPC_BUILD_TESTS=ON
3841
cmake --build build/ --parallel
42+
3943
- name: Run tests
4044
run: |
4145
cd build
@@ -50,22 +54,16 @@ jobs:
5054
steps:
5155
- name: Checkout repository
5256
uses: actions/checkout@v4
53-
- name: Create build environment
54-
uses: mamba-org/setup-micromamba@v2
55-
with:
56-
environment-file: ./environment-dev.yml
57-
environment-name: build_env
58-
cache-environment: true
57+
5958
- name: Build sparrow-ipc
6059
run: |
6160
cmake -B build/ -G Ninja \
6261
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
63-
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
64-
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
6562
-DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} \
6663
-DFETCH_DEPENDENCIES_WITH_CMAKE=MISSING \
6764
-DSPARROW_IPC_BUILD_TESTS=ON
6865
cmake --build build/ --parallel
66+
6967
- name: Run tests
7068
run: |
7169
cd build

.github/workflows/osx.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@ jobs:
2020
steps:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
23+
2324
- name: Create build environment
2425
uses: mamba-org/setup-micromamba@v2
2526
with:
2627
environment-file: ./environment-dev.yml
2728
environment-name: build_env
2829
cache-environment: true
30+
2931
- name: Install external dependencies
3032
run: micromamba install -n build_env -y -f ./environment-dev.yml
33+
3134
- name: Build sparrow-ipc
3235
run: |
3336
cmake -B build/ -G Ninja \
@@ -37,6 +40,7 @@ jobs:
3740
-DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} \
3841
-DSPARROW_IPC_BUILD_TESTS=ON
3942
cmake --build build/ --parallel
43+
4044
- name: Run tests
4145
run: |
4246
cd build
@@ -51,22 +55,16 @@ jobs:
5155
steps:
5256
- name: Checkout repository
5357
uses: actions/checkout@v4
54-
- name: Create build environment
55-
uses: mamba-org/setup-micromamba@v2
56-
with:
57-
environment-file: ./environment-dev.yml
58-
environment-name: build_env
59-
cache-environment: true
58+
6059
- name: Build sparrow-ipc
6160
run: |
6261
cmake -B build/ -G Ninja \
6362
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
64-
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
65-
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
6663
-DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} \
6764
-DFETCH_DEPENDENCIES_WITH_CMAKE=MISSING \
6865
-DSPARROW_IPC_BUILD_TESTS=ON
6966
cmake --build build/ --parallel
67+
7068
- name: Run tests
7169
run: |
7270
cd build

.github/workflows/windows.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,18 @@ jobs:
2121
steps:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
24+
2425
- name: Create build environment
2526
uses: mamba-org/setup-micromamba@v2
2627
with:
2728
environment-file: ./environment-dev.yml
2829
environment-name: build_env
2930
cache-environment: true
3031
init-shell: cmd.exe
32+
3133
- name: Install external dependencies
3234
run: micromamba install -n build_env -y -f ./environment-dev.yml
35+
3336
- name: Build sparrow-ipc
3437
run: |
3538
cmake -B build/ -G Ninja ^
@@ -42,12 +45,6 @@ jobs:
4245
if %errorlevel% neq 0 exit /b %errorlevel%
4346
cmake --build build/ --parallel
4447
if %errorlevel% neq 0 exit /b %errorlevel%
45-
# TODO this is failing (to debug when dependencies can be fetched and built locally with debug mode)
46-
#- name: Run tests
47-
#run: |
48-
#cd build
49-
#ctest --output-on-failure
50-
#if %errorlevel% neq 0 exit /b %errorlevel%
5148
5249
windows_build_fetch_from_source:
5350
runs-on: windows-latest
@@ -58,19 +55,11 @@ jobs:
5855
steps:
5956
- name: Checkout repository
6057
uses: actions/checkout@v4
61-
- name: Create build environment
62-
uses: mamba-org/setup-micromamba@v2
63-
with:
64-
environment-file: ./environment-dev.yml
65-
environment-name: build_env
66-
cache-environment: true
67-
init-shell: cmd.exe
58+
6859
- name: Build sparrow-ipc
6960
run: |
7061
cmake -B build/ -G Ninja ^
7162
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} ^
72-
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX% ^
73-
-DCMAKE_PREFIX_PATH=%CONDA_PREFIX% ^
7463
-DCMAKE_CXX_STANDARD=20 ^
7564
-DSPARROW_IPC_BUILD_SHARED=${{ matrix.build_shared }} ^
7665
-DFETCH_DEPENDENCIES_WITH_CMAKE=MISSING ^
@@ -79,9 +68,3 @@ jobs:
7968
if %errorlevel% neq 0 exit /b %errorlevel%
8069
cmake --build build/ --parallel
8170
if %errorlevel% neq 0 exit /b %errorlevel%
82-
# TODO this is failing (to debug when dependencies can be fetched and built locally with debug mode)
83-
#- name: Run tests
84-
#run: |
85-
#cd build
86-
#ctest --output-on-failure
87-
#if %errorlevel% neq 0 exit /b %errorlevel%

0 commit comments

Comments
 (0)