From 0312a77390d932c3f268cdda4f3bb2aee6586435 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 28 Mar 2026 21:59:10 +0100 Subject: [PATCH] Add GIT_REV to tools config in CI setup. --- .github/workflows/linux.yml | 8 ++++---- .github/workflows/macos.yml | 8 ++++---- .github/workflows/windows.yml | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 32e6c75c..801e88f8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -32,19 +32,19 @@ jobs: cmake --build profiler/build --parallel - name: Update utility run: | - cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release + cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build update/build --parallel - name: Capture utility run: | - cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release + cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build capture/build --parallel - name: Csvexport utility run: | - cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release + cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build csvexport/build --parallel - name: Import utilities run: | - cmake -B import/build -S import -DCMAKE_BUILD_TYPE=Release + cmake -B import/build -S import -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build import/build --parallel - name: Library run: meson setup -Dprefix=$GITHUB_WORKSPACE/bin/lib build && meson compile -C build && meson install -C build diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 25514c33..fae52a04 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -31,19 +31,19 @@ jobs: cmake --build profiler/build --parallel --config Release - name: Build update run: | - cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release + cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build update/build --parallel --config Release - name: Build capture run: | - cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release + cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build capture/build --parallel --config Release - name: Build csvexport run: | - cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release + cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build csvexport/build --parallel --config Release - name: Build import run: | - cmake -B import/build -S import -DCMAKE_BUILD_TYPE=Release + cmake -B import/build -S import -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build import/build --parallel --config Release - name: Build library run: meson setup -Dprefix=$GITHUB_WORKSPACE/bin/lib build && meson compile -C build && meson install -C build diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 16b604ed..023be87e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,19 +35,19 @@ jobs: cmake --build profiler/build --parallel --config Release - name: Build update run: | - cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release + cmake -B update/build -S update -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build update/build --parallel --config Release - name: Build capture run: | - cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release + cmake -B capture/build -S capture -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build capture/build --parallel --config Release - name: Build csvexport run: | - cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release + cmake -B csvexport/build -S csvexport -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build csvexport/build --parallel --config Release - name: Build import run: | - cmake -B import/build -S import -DCMAKE_BUILD_TYPE=Release + cmake -B import/build -S import -DCMAKE_BUILD_TYPE=Release -DGIT_REV=${{ github.sha }} cmake --build import/build --parallel --config Release - name: Package artifacts run: |