Skip to content

Support png bit depths 1, 2 and 4 #471

Support png bit depths 1, 2 and 4

Support png bit depths 1, 2 and 4 #471

Workflow file for this run

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