relative linking (#105) #143
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: Build + Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
R_LIBS_USER: .Rpackages | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -yq | |
sudo apt-get install -yq --no-install-recommends \ | |
build-essential \ | |
git \ | |
libgdal-dev \ | |
libhdf5-serial-dev \ | |
libnetcdf-dev \ | |
libssl-dev \ | |
libxml2-dev \ | |
locales \ | |
netcdf-bin \ | |
procps \ | |
r-base \ | |
r-base-dev \ | |
unzip \ | |
wget | |
- name: Create R package install path | |
run: mkdir -p $R_LIBS_USER | |
- name: Install STILT | |
run: bash test/test_setup.sh | |
- name: Run batch simulation test | |
run: bash test/test_run_stilt.sh | |
- name: Run CLI test | |
run: bash test/test_stilt_cli.sh | |
- name: Run CLI column receptor test | |
run: bash test/test_stilt_cli.sh | |
- name: Run WRF test | |
run: bash test/test_wrf_converter.sh | |
- name: Install Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Test docker build | |
run: docker build -t stilt . |