forked from openmsr/openmc_install_scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 1.5 KB
/
python-app.yml
File metadata and controls
48 lines (46 loc) · 1.5 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
workflow_dispatch:
schedule:
- cron: '44 4 * * 0'
jobs:
run-openmc-installer:
runs-on: ubuntu-22.04
steps:
- name: checkout_main_repo
uses: actions/checkout@v3
with:
repository: 'openmsr/openmc_install_scripts'
ref: '${{github.sha}}'
path: openmc_install_scripts
submodules: true
- name: bootstrap
run: sudo apt-get -y update
- name: moab-install
run: |
cd openmc_install_scripts/Ubuntu_22.04
./moab-install.sh
- name: double_down-install
run: |
cd openmc_install_scripts/Ubuntu_22.04
./double_down-install.sh
- name: dagmc-install
run: |
cd openmc_install_scripts/Ubuntu_22.04
./dagmc-install.sh
- name: openmc-install
run: |
cd openmc_install_scripts/Ubuntu_22.04
./openmc-install.sh
- name: cad-to-openmc-install
run: |
cd openmc_install_scripts/Ubuntu_22.04
./cad-to-openmc-install.sh
- name: test-install
run: |
sudo apt-get install libgl1-mesa-glx libglu1-mesa libxcursor1 libxinerama1
sudo pip install -U numpy
cd openmc_install_scripts/tests
./run-test.sh