mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-25 18:00:59 +01:00
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
|
steps:
|
||
|
- powershell: |
|
||
|
cd src/engine
|
||
|
$env:path += ';' + $env:CXX_PATH
|
||
|
cmd /c build.bat $env:TOOLSET
|
||
|
./b2.exe -v
|
||
|
cd ../..
|
||
|
displayName: Build
|
||
|
- powershell: |
|
||
|
$env:HOME = $env:HOMEDRIVE + $env:HOMEPATH
|
||
|
cd test
|
||
|
echo "using" $env:TEST_TOOLSET ":" ":" $env:CXX ";" > ${env:HOME}/user-config.jam
|
||
|
python test_all.py $env:TEST_TOOLSET
|
||
|
cd ..
|
||
|
displayName: Test
|
||
|
- powershell: |
|
||
|
$env:HOME = $env:HOMEDRIVE + $env:HOMEPATH
|
||
|
$env:path += ';' + $env:CXX_PATH
|
||
|
echo "using" $env:TEST_TOOLSET ":" ":" $env:CXX ";" > ${env:HOME}/user-config.jam
|
||
|
./src/engine/b2.exe --debug-configuration b2 warnings-as-errors=on variant=debug,release toolset=$env:TEST_TOOLSET
|
||
|
displayName: "No Warnings"
|
||
|
- powershell: |
|
||
|
$env:HOME = $env:HOMEDRIVE + $env:HOMEPATH
|
||
|
$env:path += ';' + $env:CXX_PATH
|
||
|
echo "using" $env:TEST_TOOLSET ":" ":" $env:CXX ";" > ${env:HOME}/user-config.jam
|
||
|
./bootstrap.bat $env:TOOLSET
|
||
|
./b2.exe --debug-configuration --prefix=${env:HOME}/temp/.b2 install toolset=$env:TEST_TOOLSET
|
||
|
Remove-Item ./b2.exe
|
||
|
$env:path += $env:HOME + '/temp/.b2/bin' + ';' + $env:PATH
|
||
|
cd $env:HOME
|
||
|
echo $null >> build.jam
|
||
|
b2 -v
|
||
|
b2 -n --debug-configuration
|
||
|
displayName: Bootstrap
|