Files
bar/.gitea/workflows/ci.yml
Arif Hasanic dd312b9ec5
All checks were successful
ci / build (push) Successful in 26s
quick commit
2026-02-01 17:07:35 +01:00

27 lines
697 B
YAML

name: ci
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: git.rivercry.com/system/bar:latest
credentials:
username: docker
password: ${{ secrets.DOCKER_PASSWORD }}
steps:
- name: Checkout
run: |
git init
git remote add origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@git.rivercry.com/${{ github.repository }}.git
git fetch --depth 1 origin ${{ github.sha }}
git checkout FETCH_HEAD
- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --config Release -j "$(nproc)"