Skip to content

Fix compiler flags (part 2) #9

Fix compiler flags (part 2)

Fix compiler flags (part 2) #9

Workflow file for this run

on:
push:
workflow_dispatch:
inputs:
ref:
type: string
default: master
description: The ref of saucer to use
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
BUILD_DIR: ./build
name: ๐Ÿ—๏ธ Build Bindings
jobs:
build:
strategy:
fail-fast: false
matrix:
backend: [WebKit, WebKitGtk, WebView2, Qt]
config: [Release]
include:
- backend: WebView2
platform: Windows
os: windows-latest
cmake-args: -Dsaucer_msvc_hack=ON -Dglaze_DISABLE_SIMD_WHEN_SUPPORTED=ON
- backend: Qt
platform: Linux
os: ubuntu-latest
container: archlinux:base-devel
cmake-args: -Dglaze_DISABLE_SIMD_WHEN_SUPPORTED=ON
- backend: WebKitGtk
platform: Linux
os: ubuntu-latest
container: archlinux:base-devel
cmake-args: -Dglaze_DISABLE_SIMD_WHEN_SUPPORTED=ON
- 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: ${{ env.BUILD_DIR }}