speed-dreams-code/.forgejo/workflows/build-deb.yml
Xavier Del Campo Romero bb6f43d124
build-deb.yml: Do not report git clone progress
Progress information is noisy and therefore does not provide any
benefits to the CI/CD logs.
2025-01-13 00:07:06 +01:00

20 lines
595 B
YAML

on: [pull_request]
jobs:
build:
runs-on: docker
container:
image: forge.a-lec.org/speed-dreams/debian-sd:stable
steps:
- name: Clone repository
run: |
git clone -q \
-b ${{ env.GITHUB_HEAD_REF }} \
--depth 1 \
${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}.git \
/src
- name: Configure project
working-directory: /src
run: cmake -B build -DSD_ASSUME_DATADIR=1
- name: Build project
run: cmake --build build -j$(nproc --all)
working-directory: /src