diff --git a/.travis.yml b/.travis.yml index c1fbc53..59680b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml new file mode 100644 index 0000000..f4e0c64 --- /dev/null +++ b/azure-pipelines.yaml @@ -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)' diff --git a/premake.bat b/premake.bat deleted file mode 100644 index 203dded..0000000 --- a/premake.bat +++ /dev/null @@ -1,2 +0,0 @@ -premake5 vs2017 -pause \ No newline at end of file diff --git a/premake5 b/utils/premake5 similarity index 100% rename from premake5 rename to utils/premake5 diff --git a/premake5.exe b/utils/premake5.exe similarity index 100% rename from premake5.exe rename to utils/premake5.exe