Update .gitea/workflows/actions.yaml #1

Merged
wt merged 1 commits from wt-patch-1 into main 2026-09-17 09:59:57 +00:00
+15 -19
View File
@@ -7,34 +7,30 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- 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-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
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
meson compile -C build run: meson setup build --buildtype=release
- name: Build Project
run: meson compile -C build