-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigureBuildTestCreateAndUpload.yaml
More file actions
37 lines (35 loc) · 1.09 KB
/
configureBuildTestCreateAndUpload.yaml
File metadata and controls
37 lines (35 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
on:
push:
branches:
- '**'
tags-ignore:
- '**'
release:
types: [released]
name: Configure, Build, Test, Create and Upload library
jobs:
configure:
name: Configure, Build, Test, Create and Upload library
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Conan
uses: turtlebrowser/get-conan@main
- name: Add artifactory remote
run: conan remote add gitlab https://gitlab.com/api/v4/projects/15425736/packages/conan
- name: Install dependencies
run: conan install -if build --build missing .
- name: configure, build, test and create project
run: conan create -tbf build . jothepro/release
- name: upload to artifactory
if: github.event_name == 'release'
run: conan upload libcloudsync -r=gitlab --all --confirm
env:
CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_LOGIN_USERNAME }}
CONAN_PASSWORD: ${{ secrets.CONAN_PASSWORD }}