Skip to content

Rocky build

Rocky build #126

Workflow file for this run

name: "Rocky build"
on:
push:
branches:
- '*'
- '!libcommon-refactor'
schedule:
- cron: '43 5 * * *'
jobs:
install-rocky:
runs-on: ubuntu-latest
container:
image: rockylinux/rockylinux:9-ubi-init
env:
MAGAOX_ROLE: ci
steps:
- name: Install git for checkout action
run: 'dnf install -y git'
- name: Check out repository code
uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/[email protected]
with:
path: /opt/MagAOX/
key: rocky-9-dependencies-cache-v1-${{ hashFiles('setup/*', 'setup/**/*') }}
- run: 'bash -x setup/steps/install_rocky_9_packages.sh'
name: Install OS dependencies
- run: 'bash -lx setup/provision.sh'
name: Auto-provision
- run: 'bash -l setup/steps/install_MagAOX.sh'
name: Install MagAO-X
- run: 'make test'
name: Run tests