Skip to content

Add Github Build Action #1

Add Github Build Action

Add Github Build Action #1

Workflow file for this run

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Build
permissions:
id-token: write
contents: read
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg/
jobs:
build:
name: "Build"
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- os: ubuntu-latest
vcpkg_triplet: x64-linux-release
- os: windows-latest
vcpkg_triplet: x64-windows-release
fail-fast: false
steps:
- uses: actions/[email protected]
with:
submodules: recursive
- uses: johnwason/vcpkg-action@v5
with:
pkgs: pkgconf gettext-libintl maddy jsoncpp curl curlpp sqlite3 sqlcipher sqlitecpp[sqlcipher] dbus
triplet: ${{ matrix.config.vcpkg_triplet }}
token: ${{ github.token }}
- uses: threeal/[email protected]
with:
run-build: true