ppc64le support #699
Workflow file for this run
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' | |
- 'linux-ppc64le' | |
- 'linux-s390x' | |
- 'wasm32' | |
- 'win32-ia32' | |
- 'win32-x64' | |
- 'win32-arm64v8' | |
include: | |
- os: macos-12 | |
platform: 'darwin-x64' | |
- os: macos-12 | |
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 }} |