Xavier Del Campo Romero
04e27645e7
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.
16 lines
432 B
YAML
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)
|