GH actions: conan

This commit is contained in:
Michele Caini
2019-09-24 12:55:39 +02:00
parent f5c231aa80
commit 1319fe2eb5
9 changed files with 50 additions and 78 deletions

33
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: deploy
on:
push:
tags:
- v*
jobs:
conan:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: docker://conanio/gcc8
- uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@master
with:
version: 3.6
- name: Install
run: |
chmod +x conan/ci/install.sh
./conan/ci/install.sh
- name: Deploy
env:
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }}
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}
CONAN_UPLOAD: ${{ secrets.CONAN_UPLOAD }}
CONAN_GCC_VERSIONS: 8
run: |
chmod +x conan/ci/build.sh
./conan/ci/build.sh