fix(utils/string): properly set null terminator #42
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
on: | |
push: | |
workflow_dispatch: | |
inputs: | |
ref: | |
type: string | |
default: master | |
description: The ref of saucer to use | |
name: 🏗️ Build Bindings | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
backend: [WebKit, WebKitGtk, WebView2, WebView2-Hack, Qt5, Qt6] | |
config: [Debug, Release, RelWithDebInfo, MinSizeRel] | |
include: | |
- backend: WebView2 | |
platform: Windows | |
os: windows-latest | |
- backend: WebView2-Hack | |
backend-override: WebView2 | |
platform: Windows | |
os: windows-latest | |
cmake-args: -Dsaucer_msvc_hack=ON | |
- backend: Qt5 | |
platform: Linux | |
os: ubuntu-latest | |
container: archlinux:base-devel | |
- backend: Qt6 | |
platform: Linux | |
os: ubuntu-latest | |
container: archlinux:base-devel | |
- backend: WebKitGtk | |
platform: Linux | |
os: ubuntu-latest | |
container: archlinux:base-devel | |
- backend: WebKit | |
platform: MacOS | |
os: macos-latest | |
runs-on: ${{ matrix.os }} | |
container: ${{ matrix.container }} | |
name: bindings-${{ matrix.backend }}-${{ matrix.config }} | |
steps: | |
- name: 📥 Checkout | |
uses: actions/checkout@v4 | |
- name: 📥 Checkout Saucer | |
uses: actions/checkout@v4 | |
with: | |
repository: "saucer/saucer" | |
sparse-checkout: ".github" | |
path: "actions" | |
ref: ${{ github.event.inputs.ref || 'master' }} | |
- name: 🛸 Setup Saucer | |
uses: ./actions/.github/actions/setup | |
with: | |
backend: ${{ matrix.backend-override || matrix.backend }} | |
platform: ${{ matrix.platform }} | |
build-type: ${{ matrix.config }} | |
cmake-args: ${{ matrix.cmake-args }} | |
- name: 📦 Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Binding (${{ matrix.backend }}-${{ matrix.config }}) | |
path: build |