Skip to content

docs: add v1.9 changelog and close out release plan #7

docs: add v1.9 changelog and close out release plan

docs: add v1.9 changelog and close out release plan #7

name: Build WebView Helper Binaries
on:
push:
tags:
- 'v*'
permissions:
contents: write
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install build dependencies
run: sudo apt-get update && sudo apt-get install -y cmake libgtk-3-dev libwebkit2gtk-4.1-dev
- name: Build helper binary
run: cd src/lib/webview_helper && bash build.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: webview_helper_linux_x86_64
path: src/lib/webview_helper_linux_x86_64
build-macos:
runs-on: macos-latest
strategy:
matrix:
include:
- arch: arm64
cmake_arch: arm64
binary_name: webview_helper_darwin_arm64
- arch: x86_64
cmake_arch: x86_64
binary_name: webview_helper_darwin_x86_64
steps:
- uses: actions/checkout@v5
- name: Build helper binary (${{ matrix.arch }})
run: |
cd src/lib/webview_helper
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmake_arch }}
cmake --build . --config Release
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.binary_name }}
path: src/lib/${{ matrix.binary_name }}
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v5
- name: Build helper binary
shell: cmd
run: |
cd src\lib\webview_helper
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: webview_helper_windows_x86_64.exe
path: src/lib/webview_helper_windows_x86_64.exe
release:
needs: [build-linux, build-macos, build-windows]
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
path: binaries
merge-multiple: true
- name: List binaries
run: ls -la binaries/
- name: Upload binaries to release
uses: softprops/action-gh-release@v2
with:
files: binaries/*