Skip to content

Commit ead5bc1

Browse files
authored
Merge pull request #2 from CERN/multi-platform-ci
build on various architectures
2 parents f3b4991 + 4b8d069 commit ead5bc1

2 files changed

Lines changed: 44 additions & 2 deletions

File tree

.github/workflows/darwin.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: OpenPHIGS build CI on Darwin
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-latest
13+
14+
strategy:
15+
fail-fast: false
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: dependencies
21+
run: brew reinstall gcc; brew install --cask xquartz; brew install mesa-glu glfw3 tcsh glew openmotif libXaw
22+
23+
- name: clean
24+
run: make clean
25+
26+
- name: configure
27+
run: make config
28+
29+
- name: Build
30+
run: make build
31+
32+
- name: Install test
33+
run: make install
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Makefile CI
1+
name: OpenPHIGS build CI on Ubuntu
22

33
on:
44
push:
@@ -11,11 +11,20 @@ jobs:
1111

1212
runs-on: ubuntu-latest
1313

14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
platform:
18+
- linux/amd64
19+
- linux/arm/v6
20+
- linux/arm/v7
21+
- linux/arm64
22+
1423
steps:
1524
- uses: actions/checkout@v4
1625

1726
- name: dependencies
18-
run: sudo apt install cmake gcc g++ gfortran libx11-dev libx11-dev libx11-6 libx11-6 libglu1-mesa libglu1-mesa-dev xutils-dev libmotif-dev libmotif-common r-base-dev tcsh xfonts-100dpi xfonts-75dpi libxfont2 xutils-dev libxbae-dev libxaw7-dev libssl-dev libglew-dev libdlm-dev
27+
run: sudo apt install cmake gcc gfortran libx11-dev libglu1-mesa-dev libmotif-dev tcsh libxaw7-dev libglew-dev libdlm-dev
1928

2029
- name: clean
2130
run: make clean

0 commit comments

Comments
 (0)