actions #1

Merged
wt merged 1 commits from actions into main 2025-05-06 18:43:13 +07:00
+40
View File
@@ -0,0 +1,40 @@
name: Prepare Build and Testing executable binary
run-name: ${{ gitea.actor }}
on: [push]
jobs:
Prepare-Build-Testing-Make:
runs-on: alpine-sdk
steps:
- name: prepare-container
run: echo "83.172.39.220 gitea.home.com" >> /etc/hosts
- name: Check out repository code
uses: actions/checkout@v3
- name: Building Binary with make
run: make -j$(nproc)
Prepare-Build-Testing-CMake:
runs-on: alpine-sdk
steps:
- name: prepare-container
run : echo "83.172.39.220 gitea.home.com" >> /etc/hosts
- name: Check out repository code
uses: actions/checkout@v3
- name: Building Binary with cmake
run: |
mkdir build && \
cd build && \
cmake .. && \
make -j$(nproc)
Prepare-Build-Testing-With-Meson:
runs-on: alpine-sdk
steps:
- name: prepare-container
run: |
echo "83.172.39.220 gitea.home.com" >> /etc/hosts
- name: Check out repository code
uses: actions/checkout@v3
- name: Building binary with meson
run: |
meson setup build && \
ninja -C build