cmake check for min version of openjpeg 2.1 #663
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: sw | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, ubuntu-22.04, macos-12] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: egorpugin/sw-action@master | |
- name: build | |
if: matrix.os == 'windows-latest' | |
run: ./sw -static -shared -config d,r build | |
- name: build | |
if: matrix.os != 'windows-latest' | |
run: ./sw -static -shared -config d,r build |