Files
beluga/.gitea/workflows/build.yml
T
arthur ec0eba849a
CMake Build and Deploy / build (push) Failing after 1m58s
Update .gitea/workflows/build.yml
2025-09-24 08:33:08 +02:00

32 lines
611 B
YAML

name: CMake Build and Deploy
on:
push:
branches: ["main"]
pull_request:
jobs:
build:
runs-on: home-1
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake build-essential
- name: Build project
run: cmake --build build -- -j$(nproc)
- name: Run tests
run: ctest --test-dir build || true
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: beluga
path: build/beluga