Prepare Build with CMake and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 31s
Prepare Build with CMake and Testing executable binary / Prepare-Build-Testing-With-CMake-Without-sqlite3 (push) Successful in 29s
Prepare Build with Make and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 12s
Prepare Build with Make and Testing executable binary / Prepare-Build-Testing-With-Make-Without-sqlite3 (push) Successful in 11s
Prepare Build with Meson and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 26s
Prepare Build with Meson and Testing executable binary / Prepare-Build-Testing-With-Meson-Without-sqlite3 (push) Successful in 24s
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: Prepare Build with CMake and Testing executable binary
|
|
run-name: ${{ gitea.actor }}
|
|
on: [push]
|
|
|
|
jobs:
|
|
Prepare-Build-Testing-With-CMake:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Install build tools
|
|
run: apt update && apt install -y cmake
|
|
- name: Configure CMake
|
|
run: cmake -B ${{gitea.workspace}}/build -DUSE_SQLITE3=ON
|
|
- name: Build project
|
|
run: cmake --build ${{gitea.workspace}}/build
|
|
- name: Testing binary
|
|
run: cp -v build/auth_service . && ./tests.sh
|
|
|
|
Prepare-Build-Testing-With-CMake-Without-sqlite3:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Install build tools
|
|
run: apt update && apt install -y cmake
|
|
- name: Configure CMake
|
|
run: cmake -B ${{gitea.workspace}}/build -DUSE_SQLITE3=OFF
|
|
- name: Build project
|
|
run: cmake --build ${{gitea.workspace}}/build
|
|
- name: Testing binary
|
|
run: cp -v build/auth_service . && ./tests.sh
|