mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
ci: Introduce a CI pipeline for GitLab.
This commit is contained in:
committed by
Alexandre Julliard
parent
c39c5b3907
commit
4a3ad750e0
Notes:
Alexandre Julliard
2023-08-29 22:15:58 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/271
19
gitlab/build-linux
Executable file
19
gitlab/build-linux
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Building $(git log -1)"
|
||||
echo "---"
|
||||
|
||||
COMMIT=$(git rev-parse --short HEAD)
|
||||
|
||||
set -Eeuxo pipefail
|
||||
|
||||
./autogen.sh
|
||||
rm -fr build
|
||||
mkdir build
|
||||
cd build
|
||||
../configure --enable-demos && make -j$(nproc) && make -j$(nproc) crosstest || touch ../pipeline_failed
|
||||
|
||||
mkdir -p ../artifacts/$COMMIT
|
||||
rsync -Rr doc/* tests/*.exe ../artifacts/$COMMIT
|
||||
|
||||
git reset --hard
|
Reference in New Issue
Block a user