diff --git a/.ci/bootstrap.bat b/.ci/bootstrap.bat index a924fc92b..1fd9014c9 100644 --- a/.ci/bootstrap.bat +++ b/.ci/bootstrap.bat @@ -16,6 +16,6 @@ echo Extracting %MINGW% as C++ Compiler %MINGW% -y -o"./internal/c/c_compiler/" echo Bootstrapping QB64 -internal\c\c_compiler\bin\mingw32-make.exe OS=win BUILD_QB64=y EXE=.\qb64_bootstrap.exe +internal\c\c_compiler\bin\mingw32-make.exe -j8 OS=win BUILD_QB64=y EXE=.\qb64_bootstrap.exe IF ERRORLEVEL 1 exit /b 1 diff --git a/.ci/bootstrap.sh b/.ci/bootstrap.sh index 01ea9c80e..fca5d9d67 100755 --- a/.ci/bootstrap.sh +++ b/.ci/bootstrap.sh @@ -3,7 +3,7 @@ OS=$1 echo -n "Bootstrapping QB64..." -make OS=$OS BUILD_QB64=y EXE=./qb64_bootstrap +make -j8 OS=$OS BUILD_QB64=y EXE=./qb64_bootstrap if [ $? -ne 0 ]; then echo "QB64 bootstrap failed" diff --git a/.ci/compile.sh b/.ci/compile.sh index 36094e109..ada051fd9 100755 --- a/.ci/compile.sh +++ b/.ci/compile.sh @@ -1,5 +1,7 @@ #!/bin/bash +os=$1 + ./qb64_bootstrap -x -w source/qb64.bas SUCCESS=$? @@ -11,6 +13,6 @@ rm internal/temp/qb64_bootstrap.sym mv internal/temp/* internal/source/ -make clean OS=lnx +make clean OS=$os exit $SUCCESS diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb5bedd5e..207248487 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: - name: Compile Linux/OSX if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }} - run: .ci/compile.sh + run: .ci/compile.sh ${{ matrix.prefix }} - name: Compile Windows if: ${{ matrix.os == 'windows-latest' }}