added tests
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 6s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 6s
This commit is contained in:
1 parent
07d3ad4585
commit
f2a11fa1db
4 files changed
+112
-5
No files matched your search
@@ -9,11 +9,13 @@ jobs:
|
||||
- name: prepare-container
|
||||
run: |
|
||||
echo "192.168.3.113 gitea.home.com" >> /etc/hosts && \
|
||||
apk add sqlite-dev
|
||||
apk add sqlite-dev bash
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Building binary with make
|
||||
run: make -j$(nproc)
|
||||
- name: Testing binary
|
||||
run: make test
|
||||
|
||||
Prepare-Build-Testing-With-CMake:
|
||||
runs-on: alpine-sdk
|
||||
@@ -21,7 +23,7 @@ jobs:
|
||||
- name: prepare-container
|
||||
run: |
|
||||
echo "192.168.3.113 gitea.home.com" >> /etc/hosts && \
|
||||
apk add cmake sqlite-dev
|
||||
apk add cmake sqlite-dev bash
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Building binary with CMake
|
||||
@@ -30,6 +32,9 @@ jobs:
|
||||
cd build && \
|
||||
cmake .. && \
|
||||
make -j$(nproc)
|
||||
- name: Testing binary
|
||||
run: |
|
||||
cd build && ../tests.sh
|
||||
|
||||
Prepare-Build-Testing-With-Meson:
|
||||
runs-on: alpine-sdk
|
||||
@@ -37,10 +42,13 @@ jobs:
|
||||
- name: prepare-container
|
||||
run: |
|
||||
echo "192.168.3.113 gitea.home.com" >> /etc/hosts && \
|
||||
apk add meson ninja cmake sqlite-dev
|
||||
apk add meson ninja cmake sqlite-dev bash
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Building binary with meson
|
||||
run: |
|
||||
meson setup build && \
|
||||
ninja -C build
|
||||
- name: Testing binary
|
||||
run: |
|
||||
cd build && ../tests.sh
|
||||
Reference in new issue
Block a user