fileserver/.gitea/workflows/build.yaml
Mutzi a116a7b525
Some checks failed
/ Build the server (push) Failing after 2m39s
Disabled parallel builds
2024-04-13 14:32:41 +02:00

26 lines
637 B
YAML

on:
- push
jobs:
build:
name: Build the server
runs-on: 'docker'
container:
node:current-alpine
steps:
- run: apk add git tar cmake make g++ linux-headers python3 xxd
- uses: actions/checkout@v3
- run: npm ci
working-directory: frontend
- run: npm run build
working-directory: frontend
- run: mkdir build
- run: cmake -DCMAKE_BUILD_TYPE=Release ..
working-directory: build
- run: cmake --build .
working-directory: build
- uses: actions/upload-artifact@v3
with:
name: fileserver
path: build/fileserver