Skip to content

Commit

Permalink
Added azure-pipelines.yaml for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
StiviiK committed Jul 22, 2019
1 parent 3d38c00 commit 3a1fc6d
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 33 deletions.
62 changes: 31 additions & 31 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
language: cpp
dist: bionic
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- libssl-dev
- libcrypto++-dev
env: ENV_CXX=g++-7 ENV_CC=gcc-7
before_script:
- wget https://github.com/sbx320/premake5-travis/blob/master/premake5?raw=true -O
./premake5 && chmod +x ./premake5 && ./premake5 gmake && cd Build
script:
- make -j 3 CXX=$ENV_CXX CC=$ENV_CC config=release_x64
- cd ..
- mv Bin/Release/libml_jwt.so Bin/Release/ml_jwt.so

deploy:
skip_cleanup: true
provider: releases
api_key:
secure: ReOy6mA5VqtgDEd+f4tQtNk+3to5bn33mP+AFBHoljcz1JgQ7fCRe4raIGJFPrGxWET37P1vMMIrUc1K0rfmdULELj5VQ0NfmkSiIfFdw+HdQKA5PNVKf1t4zB6PA7nNO+c2N9U812AVqmFK9FJe4gn4W1Tf08zWY0aXD4EL45NEuS382em5ZT2KqWiTeAa1uMxYh8Ro0Ub5HRwX2QxlVromqtmay6h4vckdb+mXdXqOZol72ERe8BT1Oohi/JbCzZLp8kxfarFelaNqZRqdtSdXB90aWMmc4KH2GYKUiv3hic5ZbGxbdOctcaZAIg5KCpQzlnSQ4zrgbU/PxxxDndAEVxfWYSbqa9FtQHccgzBZBvzQn9t1dyI24lygsCk7F5H3Mkspl2BdiBR4XdGBuNaHAh+3xVNplEdfYa/hNeRncDTaW25HADzgUIOQ1eTVYL1eh2JM82KfHMYwGJsg0ZbJTLV7X/CZvzYYWJ9vV5DaIvJi1m2qsSmpbWnGfR5KRSRGYSKNpJlcbpRuIYbAHDwj8unN3wTESGrFX+M93g4Pu+dwV/DwqXv5DUl4Vamo1CaJ0Ly0IGoqP8wacCVseR1fyKGlTsgOfbRPTHfUxBOdlQjYLe44Mav9TLcWveGsNzRoYjgpCe5D3Yh/KTP6YFMzmm4lH7XfrpecEoeFHH8=
file: Bin/Release/ml_jwt.so
on:
repo: eXo-OpenSource/ml_jwt
tags: true
language: cpp
dist: bionic
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- libssl-dev
- libcrypto++-dev
env: ENV_CXX=g++-7 ENV_CC=gcc-7
before_script:
- wget https://github.com/sbx320/premake5-travis/blob/master/premake5?raw=true -O
./premake5 && chmod +x ./premake5 && ./premake5 gmake && cd Build
script:
- make -j 3 CXX=$ENV_CXX CC=$ENV_CC config=release_x64
- cd ..
- mv Bin/Release/libml_jwt.so Bin/Release/ml_jwt.so

deploy:
skip_cleanup: true
provider: releases
api_key:
secure: ReOy6mA5VqtgDEd+f4tQtNk+3to5bn33mP+AFBHoljcz1JgQ7fCRe4raIGJFPrGxWET37P1vMMIrUc1K0rfmdULELj5VQ0NfmkSiIfFdw+HdQKA5PNVKf1t4zB6PA7nNO+c2N9U812AVqmFK9FJe4gn4W1Tf08zWY0aXD4EL45NEuS382em5ZT2KqWiTeAa1uMxYh8Ro0Ub5HRwX2QxlVromqtmay6h4vckdb+mXdXqOZol72ERe8BT1Oohi/JbCzZLp8kxfarFelaNqZRqdtSdXB90aWMmc4KH2GYKUiv3hic5ZbGxbdOctcaZAIg5KCpQzlnSQ4zrgbU/PxxxDndAEVxfWYSbqa9FtQHccgzBZBvzQn9t1dyI24lygsCk7F5H3Mkspl2BdiBR4XdGBuNaHAh+3xVNplEdfYa/hNeRncDTaW25HADzgUIOQ1eTVYL1eh2JM82KfHMYwGJsg0ZbJTLV7X/CZvzYYWJ9vV5DaIvJi1m2qsSmpbWnGfR5KRSRGYSKNpJlcbpRuIYbAHDwj8unN3wTESGrFX+M93g4Pu+dwV/DwqXv5DUl4Vamo1CaJ0Ly0IGoqP8wacCVseR1fyKGlTsgOfbRPTHfUxBOdlQjYLe44Mav9TLcWveGsNzRoYjgpCe5D3Yh/KTP6YFMzmm4lH7XfrpecEoeFHH8=
file: Bin/Release/ml_jwt.so
on:
repo: eXo-OpenSource/ml_jwt
tags: true
13 changes: 13 additions & 0 deletions azure-pipelines.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- job: windows
pool:
vmImage: 'windows-2019'
variables:
solution: 'Build/JWT.sln'
buildConfiguration: 'Release'
steps:
- script: utils\premake5 vs2019
displayName: 'Create Visual Studio 2019 Solution'
- task: VSBuild@1
inputs:
solution: '$(solution)'
configuration: '$(buildConfiguration)'
2 changes: 0 additions & 2 deletions premake.bat

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 3a1fc6d

Please sign in to comment.