aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-08-16 08:05:39 +0200
committerTristan Gingold <tgingold@free.fr>2017-08-16 08:05:39 +0200
commit61b24c93601ecf7b9013b0926d9bda74e9eddadd (patch)
treeb1fed87aa8a8bf9327ed0957358536a9ba798f3b /appveyor.yml
parent200e893607444cb3fe2a355430767215bee8fe70 (diff)
downloadghdl-61b24c93601ecf7b9013b0926d9bda74e9eddadd.tar.gz
ghdl-61b24c93601ecf7b9013b0926d9bda74e9eddadd.tar.bz2
ghdl-61b24c93601ecf7b9013b0926d9bda74e9eddadd.zip
Reimport appveyor and travis-ci scripts from v0.34
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml74
1 files changed, 21 insertions, 53 deletions
diff --git a/appveyor.yml b/appveyor.yml
index ddb40d297..bb5f46d05 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,24 +1,21 @@
-# ==============================================================================
+# =============================================================================
# General configuration
-# ==============================================================================
+# =============================================================================
# Virtual Machine Image
image: WMF 5
# Build names
-version: 0.34-dev-{build}
+version: $(ghdl_ver)-{build}
# Branches to build
# branches:
# only:
# - master
# - paebbels/appveyor
-# ==============================================================================
+# =============================================================================
# Build matrix configuration
-# ==============================================================================
+# =============================================================================
environment:
-# global:
-# connection_string: server=12;password=13;
-# service_url: https://127.0.0.1:8090
-#
+ ghdl_ver: 0.34
matrix:
- BUILD_MINGW: mingw32
BUILD_BACKEND: mcode
@@ -33,9 +30,9 @@ environment:
# clone_folder: c:\projects\ghdl
-# ==============================================================================
+# =============================================================================
# Build flow configuration
-# ==============================================================================
+# =============================================================================
# initialization scripts to run
init:
- ps: Write-Host "Initializing virtual machine ..."
@@ -48,58 +45,29 @@ install:
- ps: .\dist\windows\appveyor\info.ps1
# Build flow
-# --------------------------------------
-# scripts to run before builds
-before_build:
- - ps: .\dist\windows\appveyor\configure.ps1
-
# Disable MSBuild
build: off
# build scripts to run
build_script:
- ps: .\dist\windows\appveyor\build.ps1
-# scripts to run after builds
-#after_build:
-
# Test flow
-# --------------------------------------
-# scripts to run before tests
-before_test:
- - ps: .\dist\windows\appveyor\setup.ps1
-
# test scripts to run
test_script:
- ps: .\dist\windows\appveyor\test.ps1
-# scripts to run after tests
-#after_test:
-# ==============================================================================
+# =============================================================================
# Deployment configuration
-# ==============================================================================
-#deploy:
-# - provider: GitHub
-# release: GHDL-v$(appveyor_build_version)
-# description: 'Release description'
-# draft: false
-# prerelease: false
-# on:
-# branch: master
-# appveyor_repo_tag: true
-# auth_token:
-# secure: 7K/sSRV3kBk/Iw/d1NGd0pAv9Qf0+lGba3UWt9RDLcIsM8binjC2ogPINilWfy46
-# - provider: Environment
-# name: GitHub Paebbels/ghdl
-# on:
-# branch: master
-
-
-# scripts to run before deployment
-#before_deploy:
-
-# deployment scripts to run
-#deploy_script:
-
-# scripts to run after deployment
-#after_deploy:
+# =============================================================================
+deploy:
+ - provider: GitHub
+ release: $(APPVEYOR_REPO_TAG_NAME)
+ description: 'Release'
+ draft: true
+ prerelease: false
+ artifact: /.*\.zip/
+ on:
+ appveyor_repo_tag: true
+ auth_token:
+ secure: Qli1B9/I6B1uTMeyGolw8N/zh/PRhLdT8fjUUTcd4Vp14UQki+YTjxKjAe+65Oqv