1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-01 13:13:53 +00:00

Fix CMake build type selection.

This commit is contained in:
Bartosz Taudul 2024-04-17 18:17:58 +02:00
parent 44be569f4a
commit 596c498e1f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 24 additions and 24 deletions

View File

@ -29,28 +29,28 @@ jobs:
run: brew install pkg-config glfw meson run: brew install pkg-config glfw meson
- name: Profiler GUI - name: Profiler GUI
run: | run: |
cmake -B profiler/build -S profiler cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release
cmake --build profiler/build --config Release --parallel cmake --build profiler/build --parallel
- name: Update utility - name: Update utility
run: | run: |
cmake -B update/build -S update cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release
cmake --build update/build --config Release --parallel cmake --build update/build --parallel
- name: Capture utility - name: Capture utility
run: | run: |
cmake -B capture/build -S capture cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release
cmake --build capture/build --config Release --parallel cmake --build capture/build --parallel
- name: Csvexport utility - name: Csvexport utility
run: | run: |
cmake -B csvexport/build -S csvexport cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release
cmake --build csvexport/build --config Release --parallel cmake --build csvexport/build --parallel
- name: Import-chrome utility - name: Import-chrome utility
run: | run: |
cmake -B import-chrome/build -S import-chrome cmake -B import-chrome/build -S import-chrome -DCMAKE_BUILD_TYPE=Release
cmake --build import-chrome/build --config Release --parallel cmake --build import-chrome/build --parallel
- name: Import-fuchsia utility - name: Import-fuchsia utility
run: | run: |
cmake -B import-fuchsia/build -S import-fuchsia cmake -B import-fuchsia/build -S import-fuchsia -DCMAKE_BUILD_TYPE=Release
cmake --build import-fuchsia/build --config Release --parallel cmake --build import-fuchsia/build --parallel
- 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

View File

@ -16,28 +16,28 @@ jobs:
run: pacman -Syu --noconfirm && pacman -S --noconfirm --needed freetype2 tbb debuginfod wayland dbus libxkbcommon libglvnd meson cmake git wayland-protocols run: pacman -Syu --noconfirm && pacman -S --noconfirm --needed freetype2 tbb debuginfod wayland dbus libxkbcommon libglvnd meson cmake git wayland-protocols
- name: Profiler GUI - name: Profiler GUI
run: | run: |
cmake -B profiler/build -S profiler cmake -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=Release
cmake --build profiler/build --config Release --parallel cmake --build profiler/build --parallel
- name: Update utility - name: Update utility
run: | run: |
cmake -B update/build -S update cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release
cmake --build update/build --config Release --parallel cmake --build update/build --parallel
- name: Capture utility - name: Capture utility
run: | run: |
cmake -B capture/build -S capture cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release
cmake --build capture/build --config Release --parallel cmake --build capture/build --parallel
- name: Csvexport utility - name: Csvexport utility
run: | run: |
cmake -B csvexport/build -S csvexport cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release
cmake --build csvexport/build --config Release --parallel cmake --build csvexport/build --parallel
- name: Import-chrome utility - name: Import-chrome utility
run: | run: |
cmake -B import-chrome/build -S import-chrome cmake -B import-chrome/build -S import-chrome -DCMAKE_BUILD_TYPE=Release
cmake --build import-chrome/build --config Release --parallel cmake --build import-chrome/build --parallel
- name: Import-fuchsia utility - name: Import-fuchsia utility
run: | run: |
cmake -B import-fuchsia/build -S import-fuchsia cmake -B import-fuchsia/build -S import-fuchsia -DCMAKE_BUILD_TYPE=Release
cmake --build import-fuchsia/build --config Release --parallel cmake --build import-fuchsia/build --parallel
- 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
- name: Test application - name: Test application