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 9f1bc4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .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,7 +22,7 @@ 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

Expand Down
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 9f1bc4c

Please sign in to comment.