Skip to content

Commit

Permalink
Windows installer artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Oct 15, 2018
1 parent 99f488d commit 4444da0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 16 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,27 @@ environment:
matrix:
- platform: x64
ARCH_BITS: 64
INSTALLER_BITS: amd64
- platform: x86
ARCH_BITS: 32
INSTALLER_BITS: x86

configuration:
- Release
- Debug

init:
- '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%'


install:
- cinst cmake
- xcopy /I third-party\vcpkg\ports\miniupnpc c:\tools\vcpkg\ports\miniupnpc
# Install python wheels, necessary to install SCons via pip
- python -m pip install wheel
# Install SCons
- python -m pip install scons==2.5.1
- scons --version

before_build:
- vcpkg install libiconv --triplet %PLATFORM%-windows-static
Expand All @@ -34,6 +42,11 @@ build_script:

after_build:
- 7z a BuildArtifacts.zip install\*
- ps: >-
If ($env:Configuration -Match "Release") {
scons -C packaging\windows --arch=%INSTALLER_BITS%
}
branches:
only:
Expand All @@ -43,3 +56,6 @@ branches:
artifacts:
- path: BuildArtifacts.zip
name: Zip
- path: packaging\windows\*.exe
name: Setup

2 changes: 0 additions & 2 deletions packaging/windows/freelan.iss
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ Name: german; MessagesFile: compiler:Languages\German.isl
[Files]
Source: ..\..\install\{#XARCH}\Release\bin\freelan.exe; DestDir: {app}\bin; Flags: ignoreversion; Components: binaries
Source: ..\..\install\{#XARCH}\Release\config\freelan.cfg; DestDir: {app}\config; Flags: ignoreversion onlyifdoesntexist; Components: configuration
Source: ..\..\install\{#XARCH}\Release\bin\ssleay32.dll; DestDir: {app}\bin; Flags: ignoreversion; Components: binaries
Source: ..\..\install\{#XARCH}\Release\bin\libeay32.dll; DestDir: {app}\bin; Flags: ignoreversion; Components: binaries
Source: files\{#ARCH}\{#TAPINF}.inf; DestDir: {app}\driver; Flags: ignoreversion; Components: tap_adapter
Source: files\{#ARCH}\{#TAP}.cat; DestDir: {app}\driver; Flags: ignoreversion; Components: tap_adapter
Source: files\{#ARCH}\{#TAP}.sys; DestDir: {app}\driver; Flags: ignoreversion; Components: tap_adapter
Expand Down

0 comments on commit 4444da0

Please sign in to comment.