From 1aa4315169f778c3061795e7c615bf789edc8cb4 Mon Sep 17 00:00:00 2001 From: Roderik Ploszek Date: Mon, 9 Apr 2018 22:36:19 +0200 Subject: [PATCH] Bundle fc-solve with Windows installer --- .appveyor.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 8e13f862..01e9e639 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -39,6 +39,13 @@ test_script: - appveyor DownloadFile https://sourceforge.net/projects/pysolfc/files/PySolFC-Cardsets/PySolFC-Cardsets-2.0/PySolFC-Cardsets-2.0.tar.bz2/download -FileName cardsets.tar.bz2 - tar xf cardsets.tar.bz2 - xargs -ta scripts\cardsets_to_bundle -I file cp -rt dist\data\ PySolFC-Cardsets-2.0\file + - ps: | + $apiUrl = 'https://ci.appveyor.com/api' + $project = Invoke-RestMethod -Method Get -Uri "$apiUrl/projects/shlomif/fc-solve" + $jobId = $project.build.jobs[0].jobId + Invoke-RestMethod -Method Get -Uri "$apiUrl/buildjobs/$jobId/artifacts/fc-solve/pkg-build/fc-solve-for-pysol.zip" -OutFile fc-solve.zip + - 7z x fc-solve.zip + - move fcs-pysol dist\freecell-solver - 7z a -r pysol_win_dist.7z dist\ - SET PYTHONPATH=%cd% - python3 scripts\create_iss.py