diff options
author | saturneric <[email protected]> | 2024-07-30 17:59:06 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-30 17:59:06 +0000 |
commit | cf3624a25d6bf68d1137520bfb152815c26cbba2 (patch) | |
tree | 4f5d21f6c1a3b6945a8c18da4977887c3948ee79 | |
parent | fix: use standard os detection macro (diff) | |
download | GpgFrontend-cf3624a25d6bf68d1137520bfb152815c26cbba2.tar.gz GpgFrontend-cf3624a25d6bf68d1137520bfb152815c26cbba2.zip |
fix: solve known issues on build
-rw-r--r-- | .github/workflows/release-qt5.yml | 6 | ||||
-rw-r--r-- | .github/workflows/release.yml | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/release-qt5.yml b/.github/workflows/release-qt5.yml index 59b41b50..1102379c 100644 --- a/.github/workflows/release-qt5.yml +++ b/.github/workflows/release-qt5.yml @@ -140,6 +140,7 @@ jobs: - name: Build mimalloc (Linux) run: | + git clone --depth 1 --branch v2.1.7 https://github.com/microsoft/mimalloc.git ${{github.workspace}}/third_party/mimalloc cd ${{github.workspace}}/third_party/mimalloc mkdir build && cd build cmake -G Ninja -DMI_SECURE=ON .. @@ -150,8 +151,8 @@ jobs: - name: Build mimalloc (Windows) shell: msys2 {0} run: | - cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://') - cd third_party/mimalloc + git clone --depth 1 --branch v2.1.7 https://github.com/microsoft/mimalloc.git ${{github.workspace}}/third_party/mimalloc + cd ${{github.workspace}}/third_party/mimalloc mkdir build && cd build cmake -G Ninja -DMI_SECURE=ON -DCMAKE_INSTALL_PREFIX=$MSYSTEM_PREFIX .. && ninja ninja install @@ -159,6 +160,7 @@ jobs: - name: Build googletest (Linux) run: | + git clone --depth 1 --branch v1.15.0 https://github.com/google/googletest.git ${{github.workspace}}/third_party/googletest cd ${{github.workspace}}/third_party/googletest mkdir build && cd build cmake -G Ninja -DBUILD_SHARED_LIBS=ON .. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2f0d6e6..47bf1f5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -178,8 +178,7 @@ jobs: shell: msys2 {0} run: | git clone --depth 1 --branch v2.1.7 https://github.com/microsoft/mimalloc.git ${{github.workspace}}/third_party/mimalloc - cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://') - cd third_party/mimalloc + cd ${{github.workspace}}/third_party/mimalloc mkdir build && cd build cmake -G Ninja -DMI_SECURE=ON -DCMAKE_INSTALL_PREFIX=$MSYSTEM_PREFIX .. && ninja ninja install |