-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (30 loc) · 788 Bytes
/
Copy pathcpp.yml
File metadata and controls
32 lines (30 loc) · 788 Bytes
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
name: C++ CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Update packages (ubuntu-latest)
run: sudo apt-get update
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (ubuntu-latest)
run: sudo apt-get install -y libcurl4-openssl-dev
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies (macos-latest)
run: brew install automake curl
if: matrix.os == 'macos-latest'
- name: Prepare
run: autoreconf --install
- name: Configure
run: ./configure
- name: make
run: make