From 137aee4b8a8151ac7e8326febc8d48ff4f39b41a Mon Sep 17 00:00:00 2001 From: Gabriel Leveque Date: Thu, 12 Mar 2026 09:41:58 +0100 Subject: [PATCH] feat (workflow): check if library is built in CI --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e8cfb3..ae1e8ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,5 @@ env: - EXECUTABLES: "rtype" + LIBRARY: "build/libglnet.a" on: pull_request: @@ -27,6 +27,9 @@ jobs: timeout-minutes: 2 run: cmake -B build/ -S . - - name: Build + - name: Build library timeout-minutes: 2 run: cmake --build build/ + + - name: Check if library exists + run: if [ ! -e "${{ env.LIBRARY }}" ]; then exit 1; fi