1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-15 01:30:14 +00:00

Use -j8, pass OS to ./.ci/compile.sh

This commit is contained in:
Matthew Kilgore 2022-06-07 22:37:30 -04:00
parent 76c437288a
commit 014d0296f5
4 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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' }}