Skip to content

Commit

Permalink
Update Visual Studio version
Browse files Browse the repository at this point in the history
  • Loading branch information
ugexe committed Sep 8, 2022
1 parent 0e2d9af commit 85a83cf
Showing 1 changed file with 40 additions and 11 deletions.
51 changes: 40 additions & 11 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,50 @@
os: Visual Studio 2015
os: Visual Studio 2017

platform: x64

environment:
GITHUB_ACCESS_TOKEN:
secure: EPqbi0m6WbH/4m84G1mHPyrNx4WEygFTQ6xODgdtaWJC1Js62Owlmww0fmexoVEp

install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'
- choco install strawberryperl
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- git clone https://github.com/rakudo/rakudo.git %APPVEYOR_BUILD_FOLDER%\..\rakudo
- cd %APPVEYOR_BUILD_FOLDER%\..\rakudo
- perl Configure.pl --gen-moar --gen-nqp
- nmake install
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\bin;%PATH%
- cd %APPVEYOR_BUILD_FOLDER%
# Enable x64 Native Tools
- '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"'

# Workaround for path length errors during precompilation of longer repo names
- SET TMPDIR=C:\tmp
- cd C:\
- md tmp

# Install Perl
- appveyor-retry choco install strawberryperl --allow-empty-checksums
- SET PATH=C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;%PATH%
- appveyor-retry git clone https://github.com/rakudo/rakudo.git %APPVEYOR_BUILD_FOLDER%\..\rakudo

# Install Rakudo
- cd %APPVEYOR_BUILD_FOLDER%\..\rakudo
- perl Configure.pl --gen-moar --gen-nqp --backends=moar
- nmake install
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\bin;%PATH%
- SET PATH=%APPVEYOR_BUILD_FOLDER%\..\rakudo\install\share\perl6\site\bin;%PATH%

# Install dependencies
- cd %APPVEYOR_BUILD_FOLDER%
- git clone https://github.com/ugexe/zef %APPVEYOR_BUILD_FOLDER%\..\zef
- raku -I %APPVEYOR_BUILD_FOLDER%\..\zef %APPVEYOR_BUILD_FOLDER%\..\zef\bin\zef --deps-only install .

- cd %APPVEYOR_BUILD_FOLDER%


build: off

test_script:
- prove -v -e "perl6 -I." t/ xt/
# Test it works loaded as a CURFS
- prove --ext .rakutest -v -e "raku -I." t/ xt/

# Test it can install
- raku -I %APPVEYOR_BUILD_FOLDER%\..\zef %APPVEYOR_BUILD_FOLDER%\..\zef\bin\zef --/test install .

# Test it works loaded as a CURI
- prove --ext .rakutest -v -e raku t/ xt/

shallow_clone: true

0 comments on commit 85a83cf

Please sign in to comment.