Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski committed Sep 28, 2023
1 parent 6b08385 commit a71e677
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/build_binaries.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build binaries

on:
push:
workflow_dispatch:
inputs:
libwebp_ref:
Expand All @@ -21,19 +22,8 @@ jobs:
fetch-depth: 0
submodules: true

- run: git -C libwebp-jni/libwebp checkout ${{ inputs.libwebp_ref }}
- run: git -C libwebp-jni/libwebp checkout v1.3.2

- run: cd libwebp-jni && ./compile-all.sh

- run: git status

- uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.PUBLIC_REPO_TOKEN }}
commit-message: "Build libwebp binaries. version ${{ inputs.libwebp_ref }}"
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
delete-branch: true
title: "Build libwebp binaries, version `${{ inputs.libwebp_ref }}`"
body: |
Build libwebp binaries, version [${{ inputs.libwebp_ref }}](https://chromium.googlesource.com/webm/libwebp/+/refs/tags/${{ inputs.libwebp_ref }})
2 changes: 2 additions & 0 deletions libwebp-jni/compile-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ rm -rf build
./dockcross/dockcross-windows-static-x86 bash -c './compile.sh Windows x86'
./dockcross/dockcross-windows-static-x64 bash -c './compile.sh Windows x86_64'

docker system prune -a

docker run --rm -v $(pwd):/workdir -e CROSS_TRIPLE=x86_64-apple-darwin gotson/crossbuild ./compile.sh Mac x86_64 /workdir/multiarch-darwin.cmake
docker run --rm -v $(pwd):/workdir -e CROSS_TRIPLE=aarch64-apple-darwin gotson/crossbuild ./compile.sh Mac aarch64 /workdir/multiarch-darwin.cmake

Expand Down

0 comments on commit a71e677

Please sign in to comment.