diff options
author | saturneric <[email protected]> | 2024-07-29 16:29:50 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-29 16:29:50 +0000 |
commit | 7054d32ee25bafdbfe01aaa9f0bade54d03431ff (patch) | |
tree | 9ee55fe84b93cc42ffbc1a2a6ad7a0af878e6572 /.github | |
parent | fix: add option --no-translations by windeployqt (diff) | |
download | GpgFrontend-7054d32ee25bafdbfe01aaa9f0bade54d03431ff.tar.gz GpgFrontend-7054d32ee25bafdbfe01aaa9f0bade54d03431ff.zip |
fix: should build mimalloc separately
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release-qt5.yml | 19 | ||||
-rw-r--r-- | .github/workflows/release.yml | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/release-qt5.yml b/.github/workflows/release-qt5.yml index ef6eb4a2..09bd2556 100644 --- a/.github/workflows/release-qt5.yml +++ b/.github/workflows/release-qt5.yml @@ -137,6 +137,25 @@ jobs: cd ${{github.workspace}} if: matrix.os == 'ubuntu-20.04' + - name: Build mimalloc (Linux) + run: | + cd ${{github.workspace}}/third_party/mimalloc + mkdir build && cd build + cmake -G Ninja -DMI_SECURE=ON .. + ninja + sudo ninja install + if: matrix.os == 'ubuntu-20.04' + + - name: Build mimalloc (Windows) + shell: msys2 {0} + run: | + cd ${{github.workspace}}/third_party/mimalloc + mkdir build && cd build + cmake -G Ninja -DMI_SECURE=ON .. + ninja + sudo ninja install + if: matrix.os == 'windows-2019' + - name: Configure CMake & Build Binary(Windows) shell: msys2 {0} run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7c39be12..bc894ea0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -165,6 +165,25 @@ jobs: cd ${{github.workspace}} if: matrix.os == 'windows-2019' + - name: Build mimalloc (Linux) + run: | + cd ${{github.workspace}}/third_party/mimalloc + mkdir build && cd build + cmake -G Ninja -DMI_SECURE=ON .. + ninja + sudo ninja install + if: matrix.os == 'ubuntu-20.04' + + - name: Build mimalloc (Windows) + shell: msys2 {0} + run: | + cd ${{github.workspace}}/third_party/mimalloc + mkdir build && cd build + cmake -G Ninja -DMI_SECURE=ON .. + ninja + sudo ninja install + if: matrix.os == 'windows-2019' + - name: Build & Install Full SDK run: | cmake -B ${{github.workspace}}/build-full-sdk -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DGPGFRONTEND_BUILD_TYPE_FULL_SDK=ON |