speed-dreams-code/.forgejo/workflows/build-deb.yml
Workflow config file is invalid. Please check your config file: yaml: line 9: could not find expected ':'
Xavier Del Campo Romero 04e27645e7
build-deb.yml: Change indentation from 4 to 2 spaces
Even if most of the project follows the 4-space convention, 2 spaces
seems more comfortable for YAML files, specially for workflows where
deeper levels of indentations are common.
2025-01-12 01:21:48 +01:00

16 lines
432 B
YAML

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