File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 73
73
run : |
74
74
mkdir build
75
75
export HOST_TRIPLET=$(depends/config.guess)
76
- cmake -DCMAKE_TOOLCHAIN_FILE=$(realpath depends/$HOST_TRIPLET/toolchain.cmake) -DBUILD_CLI=ON -DBUILD_TESTS=ON -DBUILD_GUI=ON -DCMAKE_BUILD_TYPE=Release -S$(realpath .) -B$(realpath build)
76
+ cmake -DCMAKE_TOOLCHAIN_FILE=$(realpath depends/$HOST_TRIPLET/toolchain.cmake) -DBUILD_CLI=ON -DBUILD_TESTS=ON -DBUILD_GUI=ON -DCMAKE_BUILD_TYPE=Release -DCLIENT_VERSION_IS_RELEASE=true - S$(realpath .) -B$(realpath build)
77
77
cd build && make -j$(nproc)
78
78
- name : Run Unit Tests
79
79
run : |
@@ -256,7 +256,7 @@ jobs:
256
256
run : |
257
257
mkdir build
258
258
export HOST_TRIPLET=$(x86_64-w64-mingw32-gcc -dumpmachine)
259
- cmake -DCMAKE_TOOLCHAIN_FILE=$(realpath depends/$HOST_TRIPLET/toolchain.cmake) -DBUILD_CLI=ON -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=ON -S$(realpath .) -B$(realpath build)
259
+ cmake -DCMAKE_TOOLCHAIN_FILE=$(realpath depends/$HOST_TRIPLET/toolchain.cmake) -DBUILD_CLI=ON -DBUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=ON -DCLIENT_VERSION_IS_RELEASE=true - S$(realpath .) -B$(realpath build)
260
260
cd build && make -j$(nproc)
261
261
- name : Prepare Files for Artifact
262
262
run : |
@@ -305,7 +305,7 @@ jobs:
305
305
run : |
306
306
mkdir build
307
307
export HOST_TRIPLET=$(depends/config.guess)
308
- cmake -DCMAKE_TOOLCHAIN_FILE=$(pwd)/depends/$HOST_TRIPLET/toolchain.cmake -DBUILD_CLI=ON -DBUILD_TESTS=OFF -DBUILD_GUI=ON -DCMAKE_BUILD_TYPE=Release -S$(pwd) -B$(pwd)/build
308
+ cmake -DCMAKE_TOOLCHAIN_FILE=$(pwd)/depends/$HOST_TRIPLET/toolchain.cmake -DBUILD_CLI=ON -DBUILD_TESTS=OFF -DBUILD_GUI=ON -DCMAKE_BUILD_TYPE=Release -DCLIENT_VERSION_IS_RELEASE=true - S$(pwd) -B$(pwd)/build
309
309
cd build && make -j$NJOBS
310
310
- name : Prepare Files for Artifact
311
311
run : |
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ set(CLIENT_VERSION_MINOR 14)
22
22
set (CLIENT_VERSION_REVISION 14)
23
23
set (CLIENT_VERSION_BUILD 1)
24
24
set (CLIENT_VERSION_RC 0)
25
- set (CLIENT_VERSION_IS_RELEASE "false" )
25
+ set (CLIENT_VERSION_IS_RELEASE "false" CACHE STRING "Is this a release build?" )
26
26
set (COPYRIGHT_YEAR "2024" )
27
27
28
28
# During the enabling of the CXX and CXXOBJ languages, we modify
Original file line number Diff line number Diff line change @@ -388,6 +388,7 @@ mkdir -p "$DISTSRC"
388
388
-DBUILD_CLI=ON \
389
389
-DBUILD_GUI=ON \
390
390
-DBUILD_TESTS=OFF \
391
+ -DCLIENT_VERSION_IS_RELEASE=true \
391
392
${CMAKEFLAGS}
392
393
393
394
make -C build --jobs=" $JOBS "
You can’t perform that action at this time.
0 commit comments