actions #1
@@ -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
|
||||
Reference in New Issue
Block a user