Skip to content

Commit 8cc5748

Browse files
committed
You can't use a parallel build dir on gitlab
Should have done #21 work on a branch.
1 parent ef86217 commit 8cc5748

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.gitlab-ci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ variables:
1818

1919
# Generic commands for building
2020
.build__template: &Build
21-
- cmake --build ../build
21+
- cmake --build ./build
2222

2323
# Generic commands for moving to the build directory and running tests
2424
.run_test_template: &RunTests
25-
- cd ../build
25+
- cd ./build
2626
- ctest -j2 -V
2727

2828
# Which packages are required for GCC compilation
@@ -41,7 +41,7 @@ variables:
4141
- linux
4242
artifacts:
4343
paths:
44-
- ../build
44+
- build/
4545

4646
# Build steps to inherit from
4747
.build_template:
@@ -51,7 +51,7 @@ variables:
5151
- linux
5252
artifacts:
5353
paths:
54-
- ../build
54+
- build/
5555

5656
# Test steps to inherit form
5757
.test_template:
@@ -79,7 +79,7 @@ gcc-configure-Debug:
7979
extends: .configure_template
8080
script:
8181
- *GCCPackages
82-
- cmake -H. -B../build -GNinja -DINCH_UNIT_TESTS=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++-$GCC_VERSION -DCMAKE_BUILD_TYPE=Debug
82+
- cmake -H. -B./build -GNinja -DINCH_UNIT_TESTS=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++-$GCC_VERSION -DCMAKE_BUILD_TYPE=Debug
8383

8484
gcc-build-Debug:
8585
extends: .build_template
@@ -103,7 +103,7 @@ gcc-configure-Release:
103103
extends: .configure_template
104104
script:
105105
- *GCCPackages
106-
- cmake -H. -B../build -GNinja -DINCH_UNIT_TESTS=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++-$GCC_VERSION -DCMAKE_BUILD_TYPE=Release
106+
- cmake -H. -B./build -GNinja -DINCH_UNIT_TESTS=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++-$GCC_VERSION -DCMAKE_BUILD_TYPE=Release
107107

108108
gcc-build-Release:
109109
extends: .build_template
@@ -127,7 +127,7 @@ clang-configure-Debug:
127127
extends: .configure_template
128128
script:
129129
- *ClangPackages
130-
- cmake -H. -B../build -GNinja -DINCH_UNIT_TESTS=ON -DCMAKE_CXX_COMPILER=/usr/bin/clang++-$CLANG_VERSION -DCMAKE_BUILD_TYPE=Debug
130+
- cmake -H. -B./build -GNinja -DINCH_UNIT_TESTS=ON -DCMAKE_CXX_COMPILER=/usr/bin/clang++-$CLANG_VERSION -DCMAKE_BUILD_TYPE=Debug
131131

132132
clang-build-Debug:
133133
extends: .build_template
@@ -151,7 +151,7 @@ clang-configure-Release:
151151
extends: .configure_template
152152
script:
153153
- *ClangPackages
154-
- cmake -H. -B../build -GNinja -DINCH_UNIT_TESTS=ON -DCMAKE_CXX_COMPILER=/usr/bin/clang++-$CLANG_VERSION -DCMAKE_BUILD_TYPE=Release
154+
- cmake -H. -B./build -GNinja -DINCH_UNIT_TESTS=ON -DCMAKE_CXX_COMPILER=/usr/bin/clang++-$CLANG_VERSION -DCMAKE_BUILD_TYPE=Release
155155

156156
clang-build-Release:
157157
extends: .build_template

0 commit comments

Comments
 (0)