Skip to content

Commit

Permalink
Fixed build targets build
Browse files Browse the repository at this point in the history
  • Loading branch information
EduMenges committed Jul 12, 2024
1 parent bbee0be commit a3e56aa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ jobs:
echo "Adding GNU tar to PATH"
echo C:\Program Files\Git\usr\bin>>"%GITHUB_PATH%"
cmake-init-script: |
cmake -S .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
cmake -B $BUILD_TYPE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
target-save-data:
- target-os: $TARGET_OS
Expand Down Expand Up @@ -619,7 +619,7 @@ jobs:
COMPRESSED_TARGET="${TARGET_NAME}-lib.tar.gz"
echo "Compressing ${TARGET_OS} version ${TARGET_SHA} of ${TARGET_NAME} ${BUILD_TYPE} mode (target build folder: ${TARGET_DIRECTORY})"
tar --exclude="src/" --exclude"tmp/" --exclude="build/" -zcf ${COMPRESSED_TARGET} ${TARGET_DIRECTORY}
tar --exclude="src/" --exclude="tmp/" --exclude="build/" -zcf ${COMPRESSED_TARGET} ${TARGET_DIRECTORY}
retValue=1
numberOfTries=1
Expand Down Expand Up @@ -869,8 +869,8 @@ jobs:
COMPRESSED_TARGET_SRC="${TARGET_NAME}-src.tar.gz"
echo "Compiling $TARGET_OS version $TARGET_SHA of $TARGET_NAME $BUILD_TYPE mode"
cd $BUILD_TYPE
cmake --build . --target $TARGET_NAME --config $BUILD_TYPE -j
cmake --install $TARGET_NAME
echo "Starting to upload target: ${COMPRESSED_TARGET}"
# Upload released target
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ jobs:
run: cmake -S build/${{matrix.target}} -B build/${{matrix.target}}/${{matrix.build_type}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}}

- name: Build project
run: cmake --build build/${{matrix.target}}/${{matrix.build_type}} --config ${{matrix.build_type}} -j
run: cmake --build build/${{matrix.target}}/${{matrix.build_type}} --config ${{matrix.build_type}} -j --target wallet-core
1 change: 0 additions & 1 deletion build/CommonTargets.CMake
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,6 @@ ExternalProject_Add(libssh2
-DCRYPTO_BACKEND:STRING=OpenSSL
-DZLIB_ROOT:PATH=${ZLIB_ROOT}
-DZLIB_USE_STATIC_LIBS:BOOL=ON
-DCRYPTO_BACKEND:STRING=OpenSSL
${_OPENSSL_CACHE_ARGS}
DEPENDS openssl zlib
)
Expand Down
2 changes: 1 addition & 1 deletion ipfs-lite-cpp

0 comments on commit a3e56aa

Please sign in to comment.