Skip to content

Update basilisk.yml #10

Update basilisk.yml

Update basilisk.yml #10

Workflow file for this run

name: Install Basilisk
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
local:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: get installer script
run: wget https://raw.githubusercontent.com/highwave-project/ICHEC_help/main/install_basilisk.sh
- name: modify permissions
run: chmod a+x install_basilisk.sh
- name: export env var
run: export LOCAL_INSTALL=yes
- name: run install script
run: ./install_basilisk.sh
- name: load env vars
run: source ~/.bashrc
- name: testing
run: |
export TESTING=yes
./install_basilisk.sh
graphics:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: install testing deps
run: sudo apt install gfortran xcb valgrind graphviz valgrind gifsicle pstoedit
- name: get installer script
run: wget https://raw.githubusercontent.com/highwave-project/ICHEC_help/main/install_basilisk.sh
- name: modify permissions
run: chmod a+x install_basilisk.sh
- name: export env var
run: export BUILD_GRAPHICS=yes
- name: run install script
run: ./install_basilisk.sh
- name: load env vars
run: source ~/.bashrc
- name: testing
run: |
export TESTING=yes
./install_basilisk.sh