forked from dscharrer/innoextract
-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (41 loc) · 1.33 KB
/
ci.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
49
50
51
52
53
54
55
56
57
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '21 11 * * 5'
jobs:
linux:
name: Linux build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update
run: sudo apt-get update
- name: Dependencies
run: sudo apt-get install build-essential cmake libboost-all-dev liblzma-dev
- name: Configure
run: cmake --version && cmake -B ${{github.workspace}}/build -Werror=dev -Werror=deprecated -DCONTINUOUS_INTEGRATION=1
- name: Build
run: cmake --build ${{github.workspace}}/build
- name: Check Style
run: cmake --build ${{github.workspace}}/build --target style
macos:
name: macOS build
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Update
run: brew update
- name: Workaround for Python install isssues - https://github.com/actions/runner-images/issues/8838
run: brew install python@3 || brew link --overwrite python@3
- name: Dependencies
env:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
run: brew install boost xz
- name: Configure
run: cmake --version && cmake -B ${{github.workspace}}/build -Werror=dev -Werror=deprecated -DCONTINUOUS_INTEGRATION=1
- name: Build
run: cmake --build ${{github.workspace}}/build