fixing undefined value in specpack and simpack functions #569
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
name: Intel | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
Intel: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
compilers: ["oneapi", "classic"] | |
steps: | |
- name: install-dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libaec-dev libpng-dev zlib1g-dev libjpeg-dev doxygen | |
- name: "Install Intel" | |
uses: NOAA-EMC/ci-install-intel-toolkit@develop | |
with: | |
compiler-setup: ${{ matrix.compilers }} | |
- name: "Build dependencies" | |
uses: NOAA-EMC/ci-build-nceplibs@develop | |
with: | |
jasper-version: version-2.0.25 | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
path: g2c | |
- name: Initialize CodeQL | |
if: ${{ matrix.compilers == 'classic' }} | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: cpp | |
queries: +security-and-quality | |
- name: build | |
run: | | |
cmake -S g2c -B g2c/build -DJasper_ROOT=$GITHUB_WORKSPACE/nceplibs/jasper | |
cmake --build g2c/build --parallel 2 --verbose | |
- name: Perform CodeQL Analysis | |
if: ${{ matrix.compilers == 'classic' }} | |
uses: github/codeql-action/analyze@v2 | |
with: | |
category: "/language:cpp" | |
- name: test | |
run: ctest --test-dir g2c/build --verbose --output-on-failure --rerun-failed |