Skip to content

Commit

Permalink
fix: solve ci issues
Browse files Browse the repository at this point in the history
  • Loading branch information
saturneric committed Jul 29, 2024
1 parent 8f1edf2 commit 3f99249
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release-qt5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,15 @@ jobs:
cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')
cd third_party/mimalloc
mkdir build && cd build
cmake -G Ninja -DMI_SECURE=ON ..
ninja
sudo ninja install
cmake -G Ninja -DMI_SECURE=ON -DCMAKE_INSTALL_PREFIX=$MSYSTEM_PREFIX .. && ninja
ninja install
if: matrix.os == 'windows-2019'

- name: Build googletest (Linux)
run: |
cd ${{github.workspace}}/third_party/googletest
mkdir build && cd build
cmake -G Ninja ..
cmake -G Ninja -DBUILD_SHARED_LIBS=ON ..
ninja
sudo ninja install
if: matrix.os == 'ubuntu-20.04'
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,16 +180,15 @@ jobs:
cd $(echo "/${{github.workspace}}" | sed 's/\\/\//g' | sed 's/://')
cd third_party/mimalloc
mkdir build && cd build
cmake -G Ninja -DMI_SECURE=ON ..
ninja
sudo ninja install
cmake -G Ninja -DMI_SECURE=ON -DCMAKE_INSTALL_PREFIX=$MSYSTEM_PREFIX .. && ninja
ninja install
if: matrix.os == 'windows-2019'

- name: Build googletest (Linux)
run: |
cd ${{github.workspace}}/third_party/googletest
mkdir build && cd build
cmake -G Ninja ..
cmake -G Ninja -DBUILD_SHARED_LIBS=ON ..
ninja
sudo ninja install
if: matrix.os == 'ubuntu-20.04'
Expand Down

0 comments on commit 3f99249

Please sign in to comment.