Add libde256 openjpeg poppler for Tropy #37
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: Build Release | |
on: [ push, pull_request ] | |
jobs: | |
create-release: | |
runs-on: 'ubuntu-22.04' | |
outputs: | |
upload_url: ${{ steps.create-release.outputs.upload_url }} | |
steps: | |
- name: Create Release | |
id: create-release | |
if: startsWith(github.ref, 'refs/tags/v') | |
uses: ncipollo/release-action@v1 | |
with: | |
omitBody: true | |
prerelease: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
build: | |
runs-on: ${{ matrix.os }} | |
needs: create-release | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-22.04 ] | |
platform: | |
- 'linux-x64' | |
#- 'linux-armv6' | |
#- 'linux-armv7' | |
#- 'linuxmusl-x64' | |
#- 'linuxmusl-arm64v8' | |
- 'win32-ia32' | |
- 'win32-x64' | |
- 'win32-arm64v8' | |
include: | |
- os: macos-11 | |
platform: 'darwin-x64' | |
- os: macos-11 | |
platform: 'darwin-arm64v8' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies (macOS) | |
if: runner.os == 'macOS' | |
run: | | |
pip3 install meson ninja | |
brew install advancecomp automake brotli nasm pkg-config | |
- name: Build ${{ matrix.platform }} | |
id: build-release | |
run: ./build.sh $(cat LIBVIPS_VERSION) ${{ matrix.platform }} | |
- name: Generate integrity checksums | |
id: integrity | |
run: ./integrity.sh | |
- name: Upload Release Asset (.tar.gz) | |
id: upload-release-asset-gz | |
if: startsWith(github.ref, 'refs/tags/v') | |
uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: true | |
artifacts: libvips-*-${{ matrix.platform }}.tar.gz | |
artifactContentType: application/gzip | |
artifactErrorsFailBuild: true | |
omitBodyDuringUpdate: true | |
omitNameDuringUpdate: true | |
prerelease: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload Release Asset (.tar.br) | |
id: upload-release-asset-br | |
if: startsWith(github.ref, 'refs/tags/v') | |
uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: true | |
artifacts: libvips-*-${{ matrix.platform }}.tar.br | |
artifactContentType: application/x-brotli | |
artifactErrorsFailBuild: true | |
omitBodyDuringUpdate: true | |
omitNameDuringUpdate: true | |
prerelease: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload Release Asset (.integrity) | |
id: upload-release-asset-integrity | |
if: startsWith(github.ref, 'refs/tags/v') | |
uses: ncipollo/release-action@v1 | |
with: | |
allowUpdates: true | |
artifacts: "*.integrity" | |
artifactContentType: text/plain | |
artifactErrorsFailBuild: true | |
omitBodyDuringUpdate: true | |
omitNameDuringUpdate: true | |
prerelease: true | |
token: ${{ secrets.GITHUB_TOKEN }} |