Skip to content

Commit

Permalink
Add Darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
schwicke committed Nov 19, 2024
1 parent fc732c6 commit f782488
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/darwin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: OpenPHIGS build CI on Darwin

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: macos-latest

strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: dependencies
run: brew reinstall gcc
run: brew install openmotif tcsh glew

- name: clean
run: make clean

- name: configure
run: make config

- name: Build
run: make build

- name: Install test
run: make install
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OpenPHIGS build CI
name: OpenPHIGS build CI on Ubuntu

on:
push:
Expand All @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4

- name: dependencies
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
run: sudo apt install cmake gcc gfortran libx11-dev libglu1-mesa-dev libmotif-dev tcsh libxaw7-dev libglew-dev libdlm-dev

- name: clean
run: make clean
Expand Down

0 comments on commit f782488

Please sign in to comment.