Skip to content

Commit

Permalink
Fix AppVeyor not actually building or running tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyren committed May 16, 2018
1 parent 9efbabe commit 45b29a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions .appveyor/build.bat
@@ -1,14 +1,16 @@
"%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x86
@echo on
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
mkdir opt32 && cd opt32
C:\python27\python.exe ..\configure.py --enable-optimize --amtl=..\..\amtl
C:\python27\Scripts\ambuild
C:\python27\python.exe ..\configure.py --enable-optimize
C:\python27\python.exe C:\python27\Scripts\ambuild
cd ..
C:\python27\python.exe tests\runtests.py opt32


"%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" amd64
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
mkdir opt64 && cd opt64
C:\python27\python.exe ..\configure.py --enable-optimize --amtl=..\..\amtl --target-arch=x64
C:\python27\Scripts\ambuild
C:\python27\python.exe ..\configure.py --enable-optimize --target-arch=x64
C:\python27\python.exe C:\python27\Scripts\ambuild
cd ..
C:\python27\python.exe tests\runtests.py opt64
4 changes: 2 additions & 2 deletions .appveyor/setup_environment.bat
@@ -1,6 +1,6 @@
@echo on
git submodule update --init
git clone https://github.com/alliedmodders/ambuild ambuild
cd ambuild
c:\python27\python.exe setup.py install
chdir /D c:\projects\
git clone https://github.com/alliedmodders/amtl amtl
chdir /D "%APPVEYOR_BUILD_FOLDER%"

0 comments on commit 45b29a5

Please sign in to comment.