Add intrinsic line shapes for key fluorescent lines in XRayAtomicGasMix #106
Workflow file for this run
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
# GitHub action workflow that checks the build process on multiple platforms. | |
# | |
# The workflow builds the code (without MPI and without MakeUp) | |
# using GCC on Ubuntu and using Clang on macOS, in two different jobs. | |
# Other compiler/platform combinations can be added if the need arises. | |
# The workflow fails if there are any build errors and/or warnings. | |
# | |
name: Check builds | |
# workflow event trigger | |
on: pull_request | |
# jobs that run | |
jobs: | |
# GCC on Ubuntu | |
check_build_gcc: | |
# job name, displayed in the action log | |
name: Build using GCC on Ubuntu | |
# run this job on the Github-provided runner with a recent Ubuntu version | |
runs-on: ubuntu-22.04 | |
# steps that make up this job | |
steps: | |
# checkout using a recent version of the checkout action | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# configure the build files through CMake | |
- name: Configure | |
run: cmake -B release -DCMAKE_BUILD_TYPE:STRING=Release -DWARNINGS_AS_ERRORS:BOOL=ON -DBUILD_DOX_STYLE:BOOL=ON -DBUILD_SMILE_SHAPES:BOOL=ON -DBUILD_SMILE_TOOL:BOOL=ON -L | |
# perform the actual build (Ubuntu runners have 2 cores) | |
- name: Build | |
run: make -C release -j 2 | |
# Clang on macOS | |
check_build_clang: | |
# job name, displayed in the action log | |
name: Build using Clang on macOS | |
# run this job on the Github-provided runner with a recent macOS version | |
runs-on: macos-12 | |
# steps that make up this job | |
steps: | |
# checkout using a recent version of the checkout action | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# configure the build files through CMake | |
- name: Configure | |
run: cmake -B release -DCMAKE_BUILD_TYPE:STRING=Release -DWARNINGS_AS_ERRORS:BOOL=ON -DBUILD_DOX_STYLE:BOOL=ON -DBUILD_SMILE_SHAPES:BOOL=ON -DBUILD_SMILE_TOOL:BOOL=ON -L | |
# perform the actual build (mac OS runners have 3 cores) | |
- name: Build | |
run: make -C release -j 3 | |
# MinGW-64 on Windows | |
check_build_mingw: | |
# job name, displayed in the action log | |
name: Build using MinGW-64 on Windows | |
# run this job on the Github-provided runner with a recent Windows version | |
runs-on: windows-2022 | |
# steps that make up this job | |
steps: | |
# checkout using a recent version of the checkout action | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# configure the build files through CMake | |
- name: Configure | |
run: cmake -G "MinGW Makefiles" -B release -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_EXE_LINKER_FLAGS="-static" -DWARNINGS_AS_ERRORS:BOOL=ON -DBUILD_DOX_STYLE:BOOL=ON -DBUILD_SMILE_SHAPES:BOOL=ON -DBUILD_SMILE_TOOL:BOOL=ON -L | |
# perform the actual build (Windows runners have 2 cores) | |
- name: Build | |
run: make -C release -j 2 | |
# MSVC on Windows | |
check_build_msvc: | |
# job name, displayed in the action log | |
name: Build using MSVC on Windows | |
# run this job on the Github-provided runner with a recent Windows version | |
runs-on: windows-2022 | |
# steps that make up this job | |
steps: | |
# checkout using a recent version of the checkout action | |
- name: Checkout | |
uses: actions/checkout@v3 | |
# configure the build files through CMake | |
- name: Configure | |
shell: cmd | |
run: cmake -B release -DCMAKE_BUILD_TYPE:STRING=Release -DWARNINGS_AS_ERRORS:BOOL=ON -DBUILD_DOX_STYLE:BOOL=ON -DBUILD_SMILE_SHAPES:BOOL=ON -DBUILD_SMILE_TOOL:BOOL=ON -L | |
# perform the actual build (Windows runners have 2 cores) | |
- name: Build | |
shell: cmd | |
run: cd release && cmake --build . -j 2 |