Upgrade to libvips v8.16.0-rc2 (#255) #753
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 | |
permissions: {} | |
jobs: | |
create-release: | |
permissions: | |
contents: write | |
runs-on: 'ubuntu-24.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: | |
permissions: | |
contents: write | |
runs-on: ${{ matrix.os }} | |
needs: create-release | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- 'ubuntu-24.04' | |
platform: | |
- 'linux-x64' | |
- 'linux-armv6' | |
- 'linuxmusl-x64' | |
- 'linuxmusl-arm64v8' | |
- 'linux-ppc64le' | |
- 'linux-s390x' | |
- 'wasm32' | |
- 'win32-ia32' | |
- 'win32-x64' | |
- 'win32-arm64v8' | |
include: | |
- os: macos-13 | |
platform: 'darwin-x64' | |
- os: macos-13 | |
platform: 'darwin-arm64v8' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies (macOS) | |
if: runner.os == 'macOS' | |
run: | | |
pip3 install meson ninja packaging | |
brew install automake nasm | |
- 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 | |
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 | |
omitBodyDuringUpdate: true | |
omitNameDuringUpdate: true | |
prerelease: true | |
token: ${{ secrets.GITHUB_TOKEN }} |