ci: do not cd into build
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
dc7c6ff0aa
commit
b804360884
5 changed files with 20 additions and 19 deletions
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd $(git rev-parse --show-toplevel)/
|
cd $(git rev-parse --show-toplevel)/
|
||||||
rm -rf ./build
|
rm -rf ./build && mkdir build/
|
||||||
mkdir build/ && cd build
|
|
||||||
|
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
Xvfb :99 -screen 0 1024x768x16 &
|
||||||
export CXX=$(which clang++)
|
export CXX=$(which clang++)
|
||||||
export CC=$(which clang)
|
export CC=$(which clang)
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
cmake .. \
|
cmake . \
|
||||||
-G Ninja \
|
-Bbuild \
|
||||||
|
-GNinja \
|
||||||
-DCMAKE_LINKER_TYPE=MOLD \
|
-DCMAKE_LINKER_TYPE=MOLD \
|
||||||
-DENABLE_UNIT_TESTS=ON \
|
-DENABLE_UNIT_TESTS=ON \
|
||||||
-DENABLE_LLVM_COVERAGE=ON \
|
-DENABLE_LLVM_COVERAGE=ON \
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd $(git rev-parse --show-toplevel)/
|
cd $(git rev-parse --show-toplevel)/
|
||||||
rm -rf ./build
|
rm -rf ./build && mkdir build/
|
||||||
mkdir build/ && cd build
|
|
||||||
|
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
Xvfb :99 -screen 0 1024x768x16 &
|
||||||
export CXX=$(which clang++)
|
export CXX=$(which clang++)
|
||||||
export CC=$(which clang)
|
export CC=$(which clang)
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
cmake .. \
|
cmake . \
|
||||||
-G Ninja \
|
-Bbuild \
|
||||||
|
-GNinja \
|
||||||
-DCMAKE_LINKER_TYPE=MOLD \
|
-DCMAKE_LINKER_TYPE=MOLD \
|
||||||
-DENABLE_UNIT_TESTS=ON \
|
-DENABLE_UNIT_TESTS=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
|
|
||||||
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd $(git rev-parse --show-toplevel)/
|
cd $(git rev-parse --show-toplevel)/
|
||||||
rm -rf ./build
|
rm -rf ./build && mkdir build/
|
||||||
mkdir build/ && cd build
|
|
||||||
|
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
Xvfb :99 -screen 0 1024x768x16 &
|
||||||
export CXX=$(which clang++)
|
export CXX=$(which clang++)
|
||||||
export CC=$(which clang)
|
export CC=$(which clang)
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
cmake .. \
|
cmake . \
|
||||||
-G Ninja \
|
-Bbuild \
|
||||||
|
-GNinja \
|
||||||
-DCMAKE_LINKER_TYPE=MOLD \
|
-DCMAKE_LINKER_TYPE=MOLD \
|
||||||
-DENABLE_UNIT_TESTS=ON \
|
-DENABLE_UNIT_TESTS=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd $(git rev-parse --show-toplevel)/
|
cd $(git rev-parse --show-toplevel)/
|
||||||
rm -rf ./build && mkdir build/ && cd build
|
rm -rf ./build && mkdir build/
|
||||||
|
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
Xvfb :99 -screen 0 1024x768x16 &
|
||||||
export CXX=$(which g++)
|
export CXX=$(which g++)
|
||||||
|
|
@ -10,8 +10,9 @@ export CC=$(which gcc)
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
# gcc uses libstdc++ by default
|
# gcc uses libstdc++ by default
|
||||||
cmake .. \
|
cmake . \
|
||||||
-G Ninja \
|
-Bbuild \
|
||||||
|
-GNinja \
|
||||||
-DCMAKE_LINKER_TYPE=MOLD \
|
-DCMAKE_LINKER_TYPE=MOLD \
|
||||||
-DENABLE_UNIT_TESTS=ON \
|
-DENABLE_UNIT_TESTS=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,7 @@ export DEBUGINFOD_URLS="https://debuginfod.archlinux.org/"
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd $(git rev-parse --show-toplevel)/
|
cd $(git rev-parse --show-toplevel)/
|
||||||
rm -rf ./build
|
rm -rf ./build && mkdir build/
|
||||||
mkdir build/ && cd build
|
|
||||||
|
|
||||||
Xvfb :99 -screen 0 1024x768x16 &
|
Xvfb :99 -screen 0 1024x768x16 &
|
||||||
export CXX=$(which g++)
|
export CXX=$(which g++)
|
||||||
|
|
@ -13,8 +12,9 @@ export CC=$(which gcc)
|
||||||
export DISPLAY=:99
|
export DISPLAY=:99
|
||||||
|
|
||||||
# gcc uses libstdc++ by default
|
# gcc uses libstdc++ by default
|
||||||
cmake .. \
|
cmake . \
|
||||||
-G Ninja \
|
-Bbuild \
|
||||||
|
-GNinja \
|
||||||
-DCMAKE_LINKER_TYPE=MOLD \
|
-DCMAKE_LINKER_TYPE=MOLD \
|
||||||
-DENABLE_UNIT_TESTS=ON \
|
-DENABLE_UNIT_TESTS=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue