Merge pull request 'Update .gitea/workflows/actions.yaml' (#2) from wt-patch-1 into main
Prepare Build and Testing executable binary / Prepare-Build-Testing-Make (push) Successful in 7s
Prepare Build and Testing executable binary / Prepare-Build-Testing-CMake (push) Successful in 17s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 19s

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
wt
2026-09-17 17:29:30 +07:00
+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