actions #2

Merged
wt merged 6 commits from actions into main 2025-01-05 13:21:44 +00:00
2 changed files with 5 additions and 4 deletions
Showing only changes of commit 2603511bd7 - Show all commits

No files matched your search

+3 -3
View File
@@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v3
- name: Building binary with make
run: |
echo "#define TEST" >> src/AuthService.hpp && \
echo "#define TEST" >> src/AuthService/AuthService.hpp && \
make -j$(nproc)
- name: Testing to run binary builded with make
run: ./bin/auth_service
@@ -30,7 +30,7 @@ jobs:
uses: actions/checkout@v3
- name: Building binary with CMake
run: |
echo "#define TEST" >> src/AuthService.hpp && \
echo "#define TEST" >> src/AuthService/AuthService.hpp && \
mkdir build && \
cd build && \
cmake .. && \
@@ -49,7 +49,7 @@ jobs:
uses: actions/checkout@v3
- name: Building binary with meson
run: |
echo "#define TEST" >> src/AuthService.hpp && \
echo "#define TEST" >> src/AuthService/AuthService.hpp && \
meson setup build && \
ninja -C build
- name: Testing to run binary builded with meson
+2 -1
View File
@@ -4,6 +4,7 @@ int main() {
AuthService auth_service;
#ifdef TEST
return 0;
#endif
#else
return auth_service.serve("127.0.0.1", 43243);
#endif
}