mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-06-18 11:00:14 +00:00
Use -j8, pass OS to ./.ci/compile.sh
This commit is contained in:
parent
76c437288a
commit
014d0296f5
|
@ -16,6 +16,6 @@ echo Extracting %MINGW% as C++ Compiler
|
||||||
%MINGW% -y -o"./internal/c/c_compiler/"
|
%MINGW% -y -o"./internal/c/c_compiler/"
|
||||||
|
|
||||||
echo Bootstrapping QB64
|
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
|
IF ERRORLEVEL 1 exit /b 1
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
OS=$1
|
OS=$1
|
||||||
|
|
||||||
echo -n "Bootstrapping QB64..."
|
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
|
if [ $? -ne 0 ]; then
|
||||||
echo "QB64 bootstrap failed"
|
echo "QB64 bootstrap failed"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
os=$1
|
||||||
|
|
||||||
./qb64_bootstrap -x -w source/qb64.bas
|
./qb64_bootstrap -x -w source/qb64.bas
|
||||||
SUCCESS=$?
|
SUCCESS=$?
|
||||||
|
|
||||||
|
@ -11,6 +13,6 @@ rm internal/temp/qb64_bootstrap.sym
|
||||||
|
|
||||||
mv internal/temp/* internal/source/
|
mv internal/temp/* internal/source/
|
||||||
|
|
||||||
make clean OS=lnx
|
make clean OS=$os
|
||||||
|
|
||||||
exit $SUCCESS
|
exit $SUCCESS
|
||||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -68,7 +68,7 @@ jobs:
|
||||||
|
|
||||||
- name: Compile Linux/OSX
|
- name: Compile Linux/OSX
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
|
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
|
||||||
run: .ci/compile.sh
|
run: .ci/compile.sh ${{ matrix.prefix }}
|
||||||
|
|
||||||
- name: Compile Windows
|
- name: Compile Windows
|
||||||
if: ${{ matrix.os == 'windows-latest' }}
|
if: ${{ matrix.os == 'windows-latest' }}
|
||||||
|
|
Loading…
Reference in a new issue