forked from pocoproject/poco
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0008fad
commit 7d52f66
Showing
5 changed files
with
31 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-11, windows-2022] | ||
os: [macos-11, ubuntu-22.04, windows-2022] | ||
|
||
steps: | ||
- if: matrix.os == 'windows-2022' | ||
|
@@ -38,23 +38,20 @@ jobs: | |
cmake --build . --target install | ||
python3 ../scripts/bundle.py mac release done | ||
# - if: matrix.os == 'macos-11' | ||
# name: Build - Debug (MacOS) | ||
# run: | | ||
# rm -r builddir | ||
# rm -r openssl/builddir | ||
|
||
# cd openssl | ||
# meson setup builddir --buildtype=debug | ||
# meson compile -C builddir | ||
# cd .. | ||
# mkdir -p builddir | ||
# cd builddir | ||
# cp -r ../openssl/subprojects/openssl-3.0.2/generated-config/archs/darwin64-x86_64-cc/asm/include ../openssl/subprojects/openssl-3.0.2 | ||
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=bundle -DENABLE_CRYPTO=ON -DBUILD_SHARED_LIBS=OFF | ||
# cmake --build . --config Debug -- -j8 | ||
# cmake --build . --target install | ||
# python3 ../scripts/bundle.py debug done | ||
- if: matrix.os == 'ubuntu-22.04' | ||
name: Build - Release (Linux) | ||
run: | | ||
cd openssl | ||
meson setup builddir --buildtype=release | ||
meson compile -C builddir | ||
cd .. | ||
mkdir -p builddir | ||
cd builddir | ||
cp -r ../openssl/subprojects/openssl-3.0.2/generated-config/archs/linux-x86_64/asm/include ../openssl/subprojects/openssl-3.0.2 | ||
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=bundle -DENABLE_CRYPTO=ON -DBUILD_SHARED_LIBS=OFF | ||
cmake --build . --config Release -- -j8 | ||
cmake --build . --target install | ||
python3 ../scripts/bundle.py linux release done | ||
- if: matrix.os == 'windows-2022' | ||
name: Build - Release /MT (Windows) | ||
|
@@ -89,42 +86,6 @@ jobs: | |
cmake --build . --target install | ||
python3 ../scripts/bundle.py win release_md done | ||
# - if: matrix.os == 'windows-2022' | ||
# name: Build - Debug /MT (Windows) | ||
# run: | | ||
# rm -r builddir | ||
# rm -r openssl/builddir | ||
|
||
# cd openssl | ||
# meson setup builddir --buildtype=debug -Dmt=enabled | ||
# meson compile -C builddir | ||
# cd .. | ||
# mkdir -force builddir | ||
# cd builddir | ||
# cp -r -force ../openssl/subprojects/openssl-3.0.2/generated-config/archs/VC-WIN64A/no-asm/include ../openssl/subprojects/openssl-3.0.2 | ||
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=bundle -DENABLE_CRYPTO=ON -DBUILD_SHARED_LIBS=OFF -DPOCO_MT=ON | ||
# cmake --build . --config Debug | ||
# cmake --build . --target install | ||
# python3 ../scripts/bundle.py debug_mt | ||
|
||
# - if: matrix.os == 'windows-2022' | ||
# name: Build - Debug /MD (Windows) | ||
# run: | | ||
# rm -r builddir | ||
# rm -r openssl/builddir | ||
|
||
# cd openssl | ||
# meson setup builddir --buildtype=debug -Dmt=disabled | ||
# meson compile -C builddir | ||
# cd .. | ||
# mkdir -force builddir | ||
# cd builddir | ||
# cp -r -force ../openssl/subprojects/openssl-3.0.2/generated-config/archs/VC-WIN64A/no-asm/include ../openssl/subprojects/openssl-3.0.2 | ||
# cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=bundle -DENABLE_CRYPTO=ON -DBUILD_SHARED_LIBS=OFF -DPOCO_MT=OFF | ||
# cmake --build . --config Debug | ||
# cmake --build . --target install | ||
# python3 ../scripts/bundle.py debug_md done | ||
|
||
- name: Upload | ||
uses: ncipollo/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters