forked from IUPAC-InChI/InChI
-
Notifications
You must be signed in to change notification settings - Fork 0
76 lines (60 loc) · 1.51 KB
/
build.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: InChI build matrix
on:
push:
workflow_dispatch:
jobs:
build_linux:
name: Ubuntu 22.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
sudo apt update
sudo apt install -y cmake ninja-build
- name: Build InChI
run: |
cmake -B builddir -G Ninja
cmake --build builddir
build-windows:
name: Windows Server 2019
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- name: Set up Visual Studio shell
uses: egor-tensin/vs-shell@v2
with:
arch: x64
- name: Install build dependencies
run: |
choco install cmake ninja
- name: Build InChI
run: |
cmake -B builddir -G Ninja
cmake --build builddir
buid-mac:
name: MacOS 14
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
brew install ninja
- name: Build InChI
run: |
cmake -B builddir -G Ninja
cmake --build builddir
build-alpine:
name: Alpine Linux
runs-on: ubuntu-22.04
container:
image: alpine:edge
steps:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
apk add bash git musl-dev gcc g++ make python3 py-pip cmake ninja
- name: Build InChI
run: |
cmake -B builddir -G Ninja
cmake --build builddir