Skip to content

rework jpeg encoder and decoder helper utils #60

rework jpeg encoder and decoder helper utils

rework jpeg encoder and decoder helper utils #60

Workflow file for this run

name: CMake
on:
push:
pull_request:
env:
BUILD_TYPE: Release
jobs:
build:
strategy:
matrix:
include:
- name: ubuntu-latest-gcc-cmake
os: ubuntu-latest
cc: gcc
cxx: g++
build-system: cmake
cmake-opts: '-DENABLE_FUZZERS=OFF'
- name: ubuntu-latest-clang-cmake
os: ubuntu-latest
cc: clang
cxx: clang++
build-system: cmake
cmake-opts: '-DENABLE_FUZZERS=ON'
- name: macos-latest-clang-cmake
os: macos-latest
cc: clang
cxx: clang++
build-system: cmake
cmake-opts: '-DENABLE_FUZZERS=OFF'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Configure CMake
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
run: cmake -B ${{github.workspace}}/out -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{ matrix.cmake-opts }}
- name: Build
run: cmake --build ${{github.workspace}}/out --config ${{env.BUILD_TYPE}}