start of a JOSS paper #2888
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: Test compilation | |
on: [pull_request] | |
jobs: | |
compilation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get AMReX | |
run: | | |
mkdir external | |
cd external | |
git clone https://github.com/AMReX-Codes/amrex.git | |
cd amrex | |
git checkout development | |
echo 'AMREX_HOME=$(GITHUB_WORKSPACE)/external/amrex' >> $GITHUB_ENV | |
echo $AMREX_HOME | |
if [[ -n "${AMREX_HOME}" ]]; then exit 1; fi | |
cd ../.. | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y -qq | |
sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0 | |
- name: Compile problems | |
run: | | |
python3 .github/workflows/find_changed_files.py ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} |