Skip to content

Commit

Permalink
Merge pull request #2 from CERN/multi-platform-ci
Browse files Browse the repository at this point in the history
build on various architectures
  • Loading branch information
schwicke authored Nov 19, 2024
2 parents f3b4991 + 4b8d069 commit ead5bc1
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/darwin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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; brew install --cask xquartz; brew install mesa-glu glfw3 tcsh glew openmotif libXaw

- name: clean
run: make clean

- name: configure
run: make config

- name: Build
run: make build

- name: Install test
run: make install
13 changes: 11 additions & 2 deletions .github/workflows/makefile.yml → .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Makefile CI
name: OpenPHIGS build CI on Ubuntu

on:
push:
Expand All @@ -11,11 +11,20 @@ jobs:

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm/v6
- linux/arm/v7
- linux/arm64

steps:
- 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 ead5bc1

Please sign in to comment.