Skip to content

Commit

Permalink
Prerelease MSI
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Sep 2, 2017
1 parent 76a02d5 commit f754f95
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,24 @@ install:
- set PATH=%PATH%;"%WIX%\bin"

test_script:
- cargo build --target %TARGET% --release
#- cargo test --no-default-features -p t-rex-core --target %TARGET%
- cargo test --no-default-features -p t-rex-core --target %TARGET%
#- cargo test --no-default-features -p t-rex-core --target %TARGET% --release
#- cargo run --no-default-features --target %TARGET% --release

before_deploy:
# - cargo rustc --no-default-features --target %TARGET% --release --bin t_rex -- -C lto
# - ps: ci\before_deploy.ps1
- cargo build --target %TARGET% --release
- cd packaging\windows
- candle -nologo gdal.wxs
- candle -nologo projlib.wxs
- candle -nologo t-rex.wxs
- light -nologo -dBuildDir="C:\projects\t-rex\target\%TARGET%\release" -dGdalSrcDir="%GDAL_HOME%\bin" -dProjlibSrcDir="%GDAL_HOME%\bin\proj\SHARE" -sice:ICE80 -o t-rex.msi t-rex.wixobj gdal.wixobj projlib.wixobj
- cargo test --all --target %TARGET% --release

before_deploy:
# TODO Update this to build the artifacts that matter to you
- cargo rustc --no-default-features --target %TARGET% --release --bin t_rex -- -C lto
- ps: ci\before_deploy.ps1
- light -nologo -dBuildDir="C:\projects\t-rex\target\%TARGET%\release" -dGdalSrcDir="%GDAL_HOME%\bin" -dProjlibSrcDir="%GDAL_HOME%\bin\proj\SHARE" -sice:ICE80 -o t-rex-%APPVEYOR_REPO_TAG_NAME%.msi t-rex.wixobj gdal.wixobj projlib.wixobj
- appveyor PushArtifact t-rex-%APPVEYOR_REPO_TAG_NAME%.msi

deploy:
artifact: /.*\.zip/
# artifact: /.*\.zip/
artifact: /.*\.msi/
auth_token:
secure: SBSCNxEf2bxSkYTYj95/dAkg0JZmthpcWxufEdr9AyyOXoViT3zyglUT2yfdBAlO
description: ''
Expand Down
4 changes: 2 additions & 2 deletions packaging/windows/t-rex.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<MajorUpgrade AllowDowngrades="yes" />

<Feature Id="TRexFeat" Title="t-rex" Level="1">
<ComponentGroupRef Id="t-rex"/>
<ComponentGroupRef Id="t_rex"/>
<ComponentGroupRef Id="gdal"/>
<ComponentGroupRef Id="projlib"/>
</Feature>
Expand All @@ -33,7 +33,7 @@
</Directory>
</Directory>

<ComponentGroup Id="t-rex">
<ComponentGroup Id="t_rex">
<Component Id="ApplicationExeComp" Directory="BINDIR" Guid="*">
<File Id="ApplicationExe" KeyPath="yes" Source="!(wix.BuildDir)\t_rex.exe" />
</Component>
Expand Down

0 comments on commit f754f95

Please sign in to comment.