updated actions
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 2h59m46s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 2h58m24s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 2h58m25s

This commit is contained in:
wt committed 2025-05-06 11:24:41 +00:00
1 parent ca74c8858c
commit a9b28f0edd
1 file changed
+3
+3
View File
@@ -13,6 +13,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Building binary with make - name: Building binary with make
run: | run: |
sed -i '1s/^/#define TEST\n/' src/config/config.hpp && \
echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \ echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \
make -j$(nproc) make -j$(nproc)
- name: Testing to run binary builded with make - name: Testing to run binary builded with make
@@ -29,6 +30,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Building binary with CMake - name: Building binary with CMake
run: | run: |
sed -i '1s/^/#define TEST\n/' src/config/config.hpp && \
echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \ echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \
@@ -48,6 +50,7 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Building binary with meson - name: Building binary with meson
run: | run: |
sed -i '1s/^/#define TEST\n/' src/config/config.hpp && \
echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \ echo "#define TEST" >> src/OpenRouter/OpenRouter.hpp && \
meson setup build && \ meson setup build && \
ninja -C build ninja -C build