-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (37 loc) · 926 Bytes
/
main.yml
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
38
39
40
41
42
43
44
45
46
47
48
name: Main
on:
push:
branches: [ master, develop** ]
tags:
- '*'
pull_request:
branches: [ master, develop** ]
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
cmake_generator: "Unix Makefiles"
- os: macos-latest
cmake_generator: "Unix Makefiles"
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- name: Setup (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
- name: Build
run: |
cmake -G "${{ matrix.cmake_generator }}" -S . -B build
cmake --build build
- name: Guidescan version
run: |
./build/bin/guidescan --version