Update .gitea/workflows/actions.yaml
Prepare Build and Testing executable binary / Prepare-Build-Testing-Make (push) Successful in 6s
Prepare Build and Testing executable binary / Prepare-Build-Testing-CMake (push) Successful in 19s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 17s

This commit is contained in:
wt committed 2026-09-17 17:26:06 +07:00
1 parent a43268f565
commit 322ddb0c2c
1 file changed
+20 -24
+20 -24
View File
@@ -4,37 +4,33 @@ on: [push]
jobs: jobs:
Prepare-Build-Testing-Make: Prepare-Build-Testing-Make:
runs-on: alpine-sdk runs-on: ubuntu-latest
steps: steps:
- name: prepare-container
run: echo "83.172.39.220 gitea.home.com" >> /etc/hosts
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Building Binary with make - name: Building binary with make
run: make -j$(nproc) run: make -j$(nproc)
Prepare-Build-Testing-CMake: Prepare-Build-Testing-CMake:
runs-on: alpine-sdk runs-on: ubuntu-latest
steps: steps:
- name: prepare-container
run : echo "83.172.39.220 gitea.home.com" >> /etc/hosts
- 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
Prepare-Build-Testing-With-Meson: Prepare-Build-Testing-With-Meson:
runs-on: alpine-sdk runs-on: ubuntu-latest
steps: steps:
- name: prepare-container
run: |
echo "83.172.39.220 gitea.home.com" >> /etc/hosts
- 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: Build Project
run: meson compile -C build