-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 864 Bytes
/
Copy pathinstall_script.yml
File metadata and controls
35 lines (32 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: run install script
on:
# allows us to run workflows manually
workflow_dispatch:
push:
branches:
- 'develop'
paths-ignore:
- 'docs/*'
- 'examples/*'
- 'img/*'
- 'news/*'
- 'tutorial/*'
- './*.rst'
- 'license.txt'
- 'PULL_REQUEST_TEMPLATE.md'
jobs:
run_install_script:
runs-on: ubuntu-latest
strategy:
matrix:
branch: ['develop', 'stable'] # 'develop' can be anything that's not 'stable'. This triggers an if statement in ubuntu.sh
build_hdf5: ['NO', 'hdf5-1_12_0']
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: run install script
shell: bash -l {0}
run: |
cd $GITHUB_WORKSPACE/scripts
chmod +x ubuntu.sh
./ubuntu.sh ${{ matrix.branch }} ${{ matrix.build_hdf5 }}