Skip to content

Commit

Permalink
Win: consolidate test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed May 15, 2019
1 parent 6f71e1a commit 88b5c77
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 37 deletions.
3 changes: 1 addition & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ install:
- call ci\appveyor_install.bat

build_script:
- call ci\build0.bat
- call ci\build1.bat
- call ci\appveyor_build.bat

test_script:
- set CONDA_INSTALL_LOCN=C:\\Miniconda37-x64
Expand Down
14 changes: 14 additions & 0 deletions ci/build0.bat → ci/appveyor_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ cd grammar
call :check
java -cp antlr-4.7-complete.jar org.antlr.v4.Tool -Dlanguage=Python3 -no-listener -visitor fortran.g4 -o ..\lfortran\parser
call :check
cd ..
call :check


set CONDA_INSTALL_LOCN=C:\\Miniconda37-x64
call :check
set BUILD_TYPE=Debug
call :check
call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
call :check
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=%cd% .
call :check
cmake --build . --config %BUILD_TYPE% --target install
call :check

:: -----------------------------------------------------------------------------
:: End of script. We exit the script now.
Expand Down
35 changes: 0 additions & 35 deletions ci/build1.bat

This file was deleted.

0 comments on commit 88b5c77

Please sign in to comment.