Update .gitea/workflows/actions.yaml
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 21s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 23s
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 21s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 23s
This commit is contained in:
@@ -10,39 +10,27 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Building binary with make
|
- name: Building binary with make
|
||||||
run: make -j$(nproc)
|
run: make -j$(nproc)
|
||||||
# - name: Testing binary
|
|
||||||
# run: make test
|
|
||||||
|
|
||||||
Prepare-Build-Testing-With-CMake:
|
Prepare-Build-Testing-With-CMake:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: prepare-container
|
|
||||||
run: |
|
|
||||||
apt install -y cmake
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Building binary with CMake
|
- name: Install build tools
|
||||||
run: |
|
run: apt update && apt install -y cmake
|
||||||
mkdir build && \
|
- name: Configure CMake
|
||||||
cd build && \
|
run: cmake -B ${{gitea.workspace}}/build
|
||||||
cmake .. && \
|
- name: Build project
|
||||||
make -j$(nproc)
|
run: cmake --build ${{gitea.workspace}}/build
|
||||||
# - name: Testing binary
|
|
||||||
# run: |
|
|
||||||
# cp -v build/auth_service . && ./tests.sh
|
|
||||||
|
|
||||||
Prepare-Build-Testing-With-Meson:
|
Prepare-Build-Testing-With-Meson:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: prepare-container
|
|
||||||
run: |
|
|
||||||
apt install -y meson
|
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Building binary with meson
|
- name: Install build tools
|
||||||
run: |
|
run: apt update && apt install -y meson
|
||||||
meson setup build && \
|
- name: Configure Project
|
||||||
ninja -C build
|
run: meson setup build --buildtype=release
|
||||||
# - name: Testing binary
|
- name: Build Project
|
||||||
# run: |
|
run: meson compile -C build
|
||||||
# cp -v build/auth_service . && ./tests.sh
|
|
||||||
|
|||||||
Reference in New Issue
Block a user