Skip to content

Add an installation shell script for Linux/MacOS #7

Add an installation shell script for Linux/MacOS

Add an installation shell script for Linux/MacOS #7

name: ⏬ Install Script
on:
workflow_dispatch:
pull_request:
paths:
- '.github/workflows/install-script.yml'
- 'install.sh'
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
installation-from-script:
strategy:
matrix:
os: [ubuntu-latest]
name: Install RTMet from shell script
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l -euo pipefail {0}
steps:
- uses: conda-incubator/setup-miniconda@v3
with:
auto-activate-base: false
miniforge-version: latest
- uses: actions/checkout@v3
- name: test conda activate
run: |
conda activate base
- name: install RTMet
run: |
bash install.sh --verbose --force
- name: check for cylc
run: |
cylc --help
- name: check for rose
run: |
rose --help