CI: Adapt to generic Makefile for Phobos

This commit is contained in:
Martin Kinkelin 2023-12-13 23:08:56 +01:00 committed by Nicholas Wilson
parent f8ee42a18d
commit f3f89ca5b6
8 changed files with 20 additions and 81 deletions

View file

@ -63,7 +63,7 @@ build() {
generated/build -j$N MODEL=$MODEL HOST_DMD=$DMD DFLAGS="$CI_DFLAGS" BUILD=debug unittest
generated/build -j$N MODEL=$MODEL HOST_DMD=$DMD DFLAGS="$CI_DFLAGS" ENABLE_RELEASE=1 dmd
make -j$N -C druntime MODEL=$MODEL
make -j$N -C ../phobos -f posix.mak MODEL=$MODEL
make -j$N -C ../phobos MODEL=$MODEL
deactivate # deactivate host compiler
}
@ -119,7 +119,7 @@ test_druntime() {
# build and run Phobos unit tests
test_phobos() {
make -j$N -C ../phobos -f posix.mak MODEL=$MODEL unittest
make -j$N -C ../phobos MODEL=$MODEL unittest
}
# test dub package