-
-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (37 loc) · 977 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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