Add build.yml Forgejo workflow
All checks were successful
/ build (pull_request) Successful in 12m52s
All checks were successful
/ build (pull_request) Successful in 12m52s
This commit is contained in:
parent
7d2727c579
commit
17f37e85ad
1 changed files with 16 additions and 0 deletions
16
.forgejo/workflows/build.yml
Normal file
16
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
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)
|
Loading…
Reference in a new issue