Skip to content

Add get_r(), get_g(), get_b() procedures. #32

Add get_r(), get_g(), get_b() procedures.

Add get_r(), get_g(), get_b() procedures. #32

Workflow file for this run

name: CMake
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
toolchain:
- {compiler: gcc}
- {compiler: intel}
- {compiler: intel-classic}
- {compiler: nvidia-hpc}
exclude:
- os: windows-latest
toolchain: {compiler: nvidia-hpc}
- os: macos-latest
toolchain: {compiler: nvidia-hpc}
- os: macos-latest
toolchain: {compiler: intel}
steps:
- uses: actions/checkout@v4
- uses: awvwgk/setup-fortran@main
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}
- name: Install Ninja
uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: pip install ninja
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_Fortran_COMPILER=${{ env.FC }} -DBUILD_TESTING=TRUE -GNinja
env:
FC: ${{ steps.setup-fortran.outputs.fc }}
- name: Build with CMake
run: cmake --build build --config Release
- name: Test with CMake
working-directory: build
run: ctest -C Release