From a9b28f0edd1d2beaa3e9c90c130e61db9493a414 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Tue, 6 May 2025 11:24:41 +0000 Subject: [PATCH] updated actions --- .gitea/workflows/actions.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml index cd96d10..23dd0be 100644 --- a/.gitea/workflows/actions.yaml +++ b/.gitea/workflows/actions.yaml @@ -13,11 +13,12 @@ jobs: uses: actions/checkout@v3 - name: Building binary with make run: | + sed -i '1s/^/#define TEST\n/' src/config/config.hpp && \ echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \ make -j$(nproc) - name: Testing to run binary builded with make run: ./build/openrouter - + Prepare-Build-Testing-With-CMake: runs-on: alpine-sdk steps: @@ -29,6 +30,7 @@ jobs: uses: actions/checkout@v3 - name: Building binary with CMake run: | + sed -i '1s/^/#define TEST\n/' src/config/config.hpp && \ echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \ mkdir build && \ cd build && \ @@ -36,7 +38,7 @@ jobs: make -j$(nproc) - name: Testing to run binary builded with CMake run: ./build/openrouter - + Prepare-Build-Testing-With-Meson: runs-on: alpine-sdk steps: @@ -48,8 +50,9 @@ jobs: uses: actions/checkout@v3 - name: Building binary with meson run: | + sed -i '1s/^/#define TEST\n/' src/config/config.hpp && \ echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \ meson setup build && \ ninja -C build - name: Testing to run binary builded with meson - run: ./build/openrouter \ No newline at end of file + run: ./build/openrouter