gitlab: Move build steps to the build-all script.

This commit is contained in:
Rémi Bernon 2022-08-04 19:31:21 +02:00 committed by Alexandre Julliard
parent 6a09b45a01
commit f1a7a16b83
2 changed files with 23 additions and 9 deletions

22
tools/gitlab/build-all Executable file
View file

@ -0,0 +1,22 @@
#!/bin/bash
echo "Building $(git log -1)"
echo "---"
set -Eeuxo pipefail
./tools/make_requests
./tools/make_makefiles
autoreconf
cd build64
../configure -C --enable-win64 --enable-werror --with-mingw
make -s -j$(nproc)
cd ..
cd build32
../configure -C --enable-werror --with-mingw
make -s -j$(nproc)
cd ..
git reset --hard

View file

@ -30,15 +30,7 @@ build-all:
- build64/config.log
- build32/config.log
script:
- ./tools/make_requests
- ./tools/make_makefiles
- autoreconf
- cd build64
- ../configure -C --enable-win64 --enable-werror --with-mingw
- make -s -j$(nproc)
- cd ../build32
- ../configure -C --enable-werror --with-mingw
- make -s -j$(nproc)
- ./tools/gitlab/build-all
build-winetest:
extends: .wine-build