Skip to content

Commit 4b8d069

Browse files
committed
Add Darwin build
1 parent fc732c6 commit 4b8d069

2 files changed

Lines changed: 35 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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: OpenPHIGS build CI
1+
name: OpenPHIGS build CI on Ubuntu
22

33
on:
44
push:
@@ -24,7 +24,7 @@ jobs:
2424
- uses: actions/checkout@v4
2525

2626
- name: dependencies
27-
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
2828

2929
- name: clean
3030
run: make clean

0 commit comments

Comments
 (0)