actions #2

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

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
name: Prepare Build and Testing executable binary
run-name: ${{ gitea.actor }}
on: [push]
jobs:
Prepare-Build-Testing-With-Make:
runs-on: alpine-sdk
steps:
- name: prepare-container
run: |
echo "83.172.39.220 gitea.home.com" >> /etc/hosts && \
apk add meson ninja cmake
- name: Check out repository code
uses: actions/checkout@v3
- name: Building binary with make
run: |
echo "#define TEST" >> src/AuthService.hpp && \
make
- name: Testing to run binary builded with make
run: ./bin/auth_service
+3
View File
@@ -2,5 +2,8 @@
int main() {
AuthService auth_service;
#ifdef TEST
return 0;
#endif
return auth_service.serve("127.0.0.1", 43243);
}