Fix density rotation bug / FS automatic parameter determination #85
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: | |
pull_request: | |
branches: | |
- main | |
- XSCAPE-1.1.5-RC | |
push: | |
branches: | |
- main | |
- XSCAPE-1.1.5-RC | |
env: | |
REPO_NAME: ${{ github.event.repository.name }} | |
jobs: | |
build: | |
name: external packages | |
runs-on: ubuntu-latest | |
container: | |
image: jetscape/base:stable | |
options: --user root | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
path: ${{ github.event.repository.name }} | |
- name: Download MUSIC | |
run: | | |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages | |
./get_music.sh | |
- name: Download ISS | |
run: | | |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages | |
./get_iSS.sh | |
- name: Download FREESTREAM | |
run: | | |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages | |
./get_freestream-milne.sh | |
- name: Download SMASH | |
run: | | |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages | |
./get_smash.sh | |
- name: Download 3DGlauber | |
run: | | |
cd ${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages | |
./get_3dglauber.sh | |
- name: Build Application | |
run: | | |
cd ${GITHUB_WORKSPACE}/${REPO_NAME} | |
mkdir build | |
cd build | |
export SMASH_DIR="${GITHUB_WORKSPACE}/${REPO_NAME}/external_packages/smash/smash_code" | |
cmake .. -DUSE_3DGlauber=ON -DUSE_MUSIC=ON -DUSE_ISS=ON -DUSE_FREESTREAM=ON -DUSE_SMASH=ON | |
make -j2 |