Fix CMake + MSVC.

This commit is contained in:
Bartosz Taudul 2024-04-18 00:08:36 +02:00
parent 596c498e1f
commit d1300c491c
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -30,27 +30,27 @@ jobs:
- name: Profiler GUI - name: Profiler GUI
run: | run: |
cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release
cmake --build profiler/build --parallel cmake --build profiler/build --parallel --config Release
- name: Update utility - name: Update utility
run: | run: |
cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release
cmake --build update/build --parallel cmake --build update/build --parallel --config Release
- name: Capture utility - name: Capture utility
run: | run: |
cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release
cmake --build capture/build --parallel cmake --build capture/build --parallel --config Release
- name: Csvexport utility - name: Csvexport utility
run: | run: |
cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release
cmake --build csvexport/build --parallel cmake --build csvexport/build --parallel --config Release
- name: Import-chrome utility - name: Import-chrome utility
run: | run: |
cmake -B import-chrome/build -S import-chrome -DCMAKE_BUILD_TYPE=Release cmake -B import-chrome/build -S import-chrome -DCMAKE_BUILD_TYPE=Release
cmake --build import-chrome/build --parallel cmake --build import-chrome/build --parallel --config Release
- name: Import-fuchsia utility - name: Import-fuchsia utility
run: | run: |
cmake -B import-fuchsia/build -S import-fuchsia -DCMAKE_BUILD_TYPE=Release cmake -B import-fuchsia/build -S import-fuchsia -DCMAKE_BUILD_TYPE=Release
cmake --build import-fuchsia/build --parallel cmake --build import-fuchsia/build --parallel --config Release
- if: ${{ !startsWith(matrix.os, 'windows') }} - if: ${{ !startsWith(matrix.os, 'windows') }}
name: Library name: Library
run: meson setup -Dprefix=$GITHUB_WORKSPACE/bin/lib build && meson compile -C build && meson install -C build run: meson setup -Dprefix=$GITHUB_WORKSPACE/bin/lib build && meson compile -C build && meson install -C build