Files
beluga/.gitea/workflows/build.yml
T
arthur d4ee0d86c2
Build project / build (push) Failing after 2m18s
Update .gitea/workflows/build.yml
2025-12-04 01:34:33 +01:00

36 lines
704 B
YAML

name: Build project
on:
push:
branches: ["main"]
jobs:
build:
runs-on: giorgio-runner
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
tokens: ${{ secrets.GITEA_TOKEN }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y meson ninja-build gcc
- name: Configure Meson
run: meson setup build
- name: Build project
run: meson compile -C build
- name: Run tests
run: ctest --test-dir build || true
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: beluga
path: build/beluga