From 864e7b9b52e2e814b48942794aa825f67f0d60ef Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Thu, 27 Feb 2020 19:28:11 +0200 Subject: [PATCH] pin the fcs version - reproducible builds --- .appveyor.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index b81f623d..2f6297a4 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -37,11 +37,16 @@ test_script: - appveyor DownloadFile https://sourceforge.net/projects/pysolfc/files/PySol-Music/PySol-Music-4.50/pysol-music-4.50.tar.xz/download -FileName music.tar.xz - 7z x music.tar.xz -so | 7z x -si -ttar - move pysol-music-4.50\data\music dist\data\music - - 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 + # - 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 + # + # For reproducible builds: + # See: https://reproducible-builds.org/ . + - SET FC_SOLVE_VER=5.20.0 + - appveyor DownloadFile https://netix.dl.sourceforge.net/project/fc-solve/fc-solve/DO-NOT-USE--fc-solve-for-pysol/fc-solve-for-pysol--v%FC_SOLVE_VER%.zip fc-solve.zip - 7z x fc-solve.zip - move fcs-pysol dist\freecell-solver - 7z a -r pysol_win_dist.7z dist\