|
9 | 9 | runs-on: ${{ matrix.os }} |
10 | 10 | strategy: |
11 | 11 | matrix: |
12 | | - os: [macos-11, windows-2022] |
| 12 | + os: [macos-11, ubuntu-22.04, windows-2022] |
13 | 13 |
|
14 | 14 | steps: |
15 | 15 | - if: matrix.os == 'windows-2022' |
@@ -38,23 +38,20 @@ jobs: |
38 | 38 | cmake --build . --target install |
39 | 39 | python3 ../scripts/bundle.py mac release done |
40 | 40 |
|
41 | | - # - if: matrix.os == 'macos-11' |
42 | | - # name: Build - Debug (MacOS) |
43 | | - # run: | |
44 | | - # rm -r builddir |
45 | | - # rm -r openssl/builddir |
46 | | - |
47 | | - # cd openssl |
48 | | - # meson setup builddir --buildtype=debug |
49 | | - # meson compile -C builddir |
50 | | - # cd .. |
51 | | - # mkdir -p builddir |
52 | | - # cd builddir |
53 | | - # cp -r ../openssl/subprojects/openssl-3.0.2/generated-config/archs/darwin64-x86_64-cc/asm/include ../openssl/subprojects/openssl-3.0.2 |
54 | | - # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=bundle -DENABLE_CRYPTO=ON -DBUILD_SHARED_LIBS=OFF |
55 | | - # cmake --build . --config Debug -- -j8 |
56 | | - # cmake --build . --target install |
57 | | - # python3 ../scripts/bundle.py debug done |
| 41 | + - if: matrix.os == 'ubuntu-22.04' |
| 42 | + name: Build - Release (Linux) |
| 43 | + run: | |
| 44 | + cd openssl |
| 45 | + meson setup builddir --buildtype=release |
| 46 | + meson compile -C builddir |
| 47 | + cd .. |
| 48 | + mkdir -p builddir |
| 49 | + cd builddir |
| 50 | + cp -r ../openssl/subprojects/openssl-3.0.2/generated-config/archs/linux-x86_64/asm/include ../openssl/subprojects/openssl-3.0.2 |
| 51 | + cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=bundle -DENABLE_CRYPTO=ON -DBUILD_SHARED_LIBS=OFF |
| 52 | + cmake --build . --config Release -- -j8 |
| 53 | + cmake --build . --target install |
| 54 | + python3 ../scripts/bundle.py linux release done |
58 | 55 |
|
59 | 56 | - if: matrix.os == 'windows-2022' |
60 | 57 | name: Build - Release /MT (Windows) |
|
89 | 86 | cmake --build . --target install |
90 | 87 | python3 ../scripts/bundle.py win release_md done |
91 | 88 |
|
92 | | - # - if: matrix.os == 'windows-2022' |
93 | | - # name: Build - Debug /MT (Windows) |
94 | | - # run: | |
95 | | - # rm -r builddir |
96 | | - # rm -r openssl/builddir |
97 | | - |
98 | | - # cd openssl |
99 | | - # meson setup builddir --buildtype=debug -Dmt=enabled |
100 | | - # meson compile -C builddir |
101 | | - # cd .. |
102 | | - # mkdir -force builddir |
103 | | - # cd builddir |
104 | | - # cp -r -force ../openssl/subprojects/openssl-3.0.2/generated-config/archs/VC-WIN64A/no-asm/include ../openssl/subprojects/openssl-3.0.2 |
105 | | - # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=bundle -DENABLE_CRYPTO=ON -DBUILD_SHARED_LIBS=OFF -DPOCO_MT=ON |
106 | | - # cmake --build . --config Debug |
107 | | - # cmake --build . --target install |
108 | | - # python3 ../scripts/bundle.py debug_mt |
109 | | - |
110 | | - # - if: matrix.os == 'windows-2022' |
111 | | - # name: Build - Debug /MD (Windows) |
112 | | - # run: | |
113 | | - # rm -r builddir |
114 | | - # rm -r openssl/builddir |
115 | | - |
116 | | - # cd openssl |
117 | | - # meson setup builddir --buildtype=debug -Dmt=disabled |
118 | | - # meson compile -C builddir |
119 | | - # cd .. |
120 | | - # mkdir -force builddir |
121 | | - # cd builddir |
122 | | - # cp -r -force ../openssl/subprojects/openssl-3.0.2/generated-config/archs/VC-WIN64A/no-asm/include ../openssl/subprojects/openssl-3.0.2 |
123 | | - # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=bundle -DENABLE_CRYPTO=ON -DBUILD_SHARED_LIBS=OFF -DPOCO_MT=OFF |
124 | | - # cmake --build . --config Debug |
125 | | - # cmake --build . --target install |
126 | | - # python3 ../scripts/bundle.py debug_md done |
127 | | - |
128 | 89 | - name: Upload |
129 | 90 | uses: ncipollo/release-action@v1.10.0 |
130 | 91 | with: |
|
0 commit comments