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
2025-05-06 11:24:41 +00:00
parent ca74c8858c
commit a9b28f0edd
+6 -3
View File
@@ -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
run: ./build/openrouter