mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Add Windows installer build to appveyor
It also bundles locales and a few cardsets.
This commit is contained in:
parent
ef041c6249
commit
819dbc6a2e
2 changed files with 25 additions and 0 deletions
|
@ -33,11 +33,23 @@ test_script:
|
|||
- gmake pretest
|
||||
- perl run-tests.pl
|
||||
- gmake rules
|
||||
- gmake pot
|
||||
- gmake mo
|
||||
- python3 setup.py py2exe
|
||||
- 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 -a scripts/cardsets_to_bundle -I {} cp -rt dist/data/ cardsets/{}
|
||||
- 7z a -r pysol_win_dist.7z dist\
|
||||
- SET PYTHONPATH=%cd%
|
||||
- python3 scripts\create_iss.py
|
||||
- SET PATH=%PATH%;"C:\\Program Files (x86)\\Inno Setup 5"
|
||||
- ISCC setup.iss
|
||||
artifacts:
|
||||
- path: pysol_win_dist.7z
|
||||
name: pysol_win_dist
|
||||
|
||||
- path: PySolFC_*_setup.exe
|
||||
name: pysol_win_installer
|
||||
cache:
|
||||
- C:\_P5 -> .appveyor.yml
|
||||
- C:\strawberry -> .appveyor.yml
|
||||
|
|
13
scripts/cardsets_to_bundle
Normal file
13
scripts/cardsets_to_bundle
Normal file
|
@ -0,0 +1,13 @@
|
|||
cardset-2000
|
||||
cardset-crystal-mahjongg
|
||||
cardset-dashavatara-ganjifa
|
||||
cardset-dondorf
|
||||
cardset-gnome-mahjongg-1
|
||||
cardset-hexadeck
|
||||
cardset-kintengu
|
||||
cardset-matrix
|
||||
cardset-mughal-ganjifa
|
||||
cardset-oxymoron
|
||||
cardset-standard
|
||||
cardset-tuxedo
|
||||
cardset-vienna-2k
|
Loading…
Add table
Reference in a new issue