build-deb.yml: Add step names

These get reflected by the web browser interface, enhancing readability.
However, splitting into different steps requires to specify the working
directory.
This commit is contained in:
Xavier Del Campo Romero 2025-01-06 21:08:49 +01:00
parent 3567f775d2
commit f822312fdb
Signed by: xavi
GPG key ID: 84FF3612A9BF43F2

View file

@ -5,12 +5,16 @@ jobs:
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)
- name: Clone repository
run: |
git clone \
-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