diff --git a/.gitea/workflows/actions.yaml b/.gitea/workflows/actions.yaml deleted file mode 100644 index ff5a098..0000000 --- a/.gitea/workflows/actions.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Prepare Build and Testing executable binary -run-name: ${{ gitea.actor }} -on: [push] - -jobs: - Prepare-Build-Testing-With-Make: - runs-on: ubuntu-latest - steps: - - name: Check out repository code - uses: actions/checkout@v3 - - name: Building binary with make - run: make -j$(nproc) - - Prepare-Build-Testing-With-CMake: - runs-on: ubuntu-latest - steps: - - name: prepare-container - run: | - apt install -y cmake - - 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: ubuntu-latest - steps: - - name: prepare-container - run: | - apt install -y meson - - name: Check out repository code - uses: actions/checkout@v3 - - name: Building binary with meson - run: | - meson setup build && \ - ninja -C build diff --git a/.gitea/workflows/cmake.yaml b/.gitea/workflows/cmake.yaml new file mode 100644 index 0000000..bb95b98 --- /dev/null +++ b/.gitea/workflows/cmake.yaml @@ -0,0 +1,16 @@ +name: Prepare Build with CMake and Testing executable binary +run-name: ${{ gitea.actor }} +on: [push] + +jobs: + Prepare-Build-Testing-With-CMake: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Install build tools + run: apt install -y cmake + - name: Configure CMake + run: cmake -B ${{gitea.workspace}}/build + - name: Build project + run: cmake --build ${{gitea.workspace}}/build diff --git a/.gitea/workflows/make.yaml b/.gitea/workflows/make.yaml new file mode 100644 index 0000000..8496d9b --- /dev/null +++ b/.gitea/workflows/make.yaml @@ -0,0 +1,12 @@ +name: Prepare Build with Make and Testing executable binary +run-name: ${{ gitea.actor }} +on: [push] + +jobs: + Prepare-Build-Testing-With-Make: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Building binary with make + run: make -j$(nproc) diff --git a/.gitea/workflows/meson.yaml b/.gitea/workflows/meson.yaml new file mode 100644 index 0000000..bad2bf3 --- /dev/null +++ b/.gitea/workflows/meson.yaml @@ -0,0 +1,16 @@ +name: Prepare Build with Meson and Testing executable binary +run-name: ${{ gitea.actor }} +on: [push] + +jobs: + Prepare-Build-Testing-With-Meson: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Install build tools + run: apt install -y meson + - name: Configure Project + run: meson setup build --buildtype=release + - name: Build Project + run: meson compile -C build