mirror of https://github.com/XEphem/XEphem.git
56 lines
1.3 KiB
YAML
Executable File
56 lines
1.3 KiB
YAML
Executable File
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- try-m1
|
|
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
compile-linux-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Ubuntu packages
|
|
run: grep 'sudo apt install' INSTALL | sed 's/\$//' | sh
|
|
- name: Compile
|
|
run: make -C GUI/xephem
|
|
- name: Test
|
|
run: make -C tests
|
|
|
|
compile-macos:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install OpenMotif
|
|
run: brew install openmotif && brew info openmotif
|
|
- name: Install OpenSSL
|
|
run: brew install openssl && brew info openssl
|
|
- name: Install XQuartz
|
|
run: brew install xquartz --cask && brew info xquartz
|
|
- name: Compile
|
|
run: make -C GUI/xephem
|
|
- name: Test
|
|
run: make -C tests
|
|
|
|
compile-apple-silicon:
|
|
runs-on: macos-14
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install OpenMotif
|
|
run: brew install openmotif && brew info openmotif
|
|
- name: Install OpenSSL
|
|
run: brew install openssl && brew info openssl
|
|
- name: Install XQuartz
|
|
run: brew install xquartz --cask && brew info xquartz
|
|
- name: Dump homebrew for debugging paths
|
|
run: find -L /opt/homebrew
|
|
- name: Compile
|
|
run: make -C GUI/xephem
|
|
- name: Test
|
|
run: make -C tests
|