Rocky build #136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |