Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
download artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
teocomi committed Nov 20, 2018
1 parent 9252d25 commit 51bf5b2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 42 deletions.
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
[submodule "SpeckleDynamo"]
path = SpeckleDynamo
url = https://github.com/speckleworks/SpeckleDynamo
[submodule "SpeckleRhino"]
path = SpeckleRhino
url = https://github.com/speckleworks/SpeckleRhino.git
1 change: 0 additions & 1 deletion SpeckleDynamo
Submodule SpeckleDynamo deleted from f156ab
1 change: 0 additions & 1 deletion SpeckleRhino
Submodule SpeckleRhino deleted from 407104
48 changes: 14 additions & 34 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ image: Visual Studio 2017
cache:
- '%LocalAppData%\NuGet\v3-cache'

install:
#init and update submodules
- git submodule update --recursive --init
# update node.js to latest 8.x release
- ps: Install-Product node 8
- node --version
- npm --version

# version
assembly_info:
patch: true
Expand All @@ -27,41 +19,29 @@ assembly_info:
platform: Any CPU
configuration: Release

environment:
lastJob: 'Environment: solution_name=SpeckleRhino\SpeckleRhino.sln'
matrix:
- solution_name: SpeckleUpdater.sln
- solution_name: SpeckleDynamo\SpeckleDynamo.sln
- solution_name: SpeckleRhino\SpeckleRhino.sln

before_build:
- nuget restore %solution_name%
- ps: |
if ($env:APPVEYOR_JOB_NAME -eq $env:lastJob) {
mkdir %AppData%\Grasshopper\Libraries\SpeckleSendReceive
mkdir Release
cd SpeckleRhino\SpeckleView
npm install
npm run build
cd ..\..
}
build_script:
- msbuild %solution_name%
- nuget restore

build:
project: $(solution_name)
project: SpeckleUpdater.sln
verbosity: minimal


# after_build:
# - InnoSetup\ISCC.exe SpeckleInstaller.iss
after_build :
- ps: |
if ($env:APPVEYOR_JOB_NAME -eq $env:lastJob) {
InnoSetup\ISCC.exe SpeckleInstaller.iss
}
# DOWNLOAD RHINO ARTIFACTS
- sh: DOWNLOAD_FILE=specklerhino.rhi
- sh: DOWNLOAD_ADDRESS=https://ci.appveyor.com/api/projects/speckleworks/specklerhino/artifacts/$DOWNLOAD_FILE
- sh: 'curl -fsSL -G -v -o "$DOWNLOAD_FILE" "$DOWNLOAD_ADDRESS" --data-urlencode "branch=master"'
- 7z x specklerhino.rhi -o%APPVEYOR_BUILD_FOLDER%\SpeckleRhino\Release\ -r
# DOWNLOAD DYNAMO ARTIFACTS
- sh: DOWNLOAD_FILE=SpeckleDynamo-0.0.6.124.zip
- sh: DOWNLOAD_ADDRESS=https://ci.appveyor.com/api/projects/speckleworks/specklerdynamo/artifacts/$DOWNLOAD_FILE
- sh: 'curl -fsSL -G -v -o "$DOWNLOAD_FILE" "$DOWNLOAD_ADDRESS" --data-urlencode "branch=master"'
- 7z x SpeckleDynamo-0.0.6.124.zip -o%APPVEYOR_BUILD_FOLDER%\SpeckleDynamo\SpeckleDynamo\bin\Release\Speckle for Dynamo\ -r
# EXECUTE INNO
- InnoSetup\ISCC.exe SpeckleInstaller.iss

artifacts:
path: Speckle.exe
Expand Down

0 comments on commit 51bf5b2

Please sign in to comment.