-
Notifications
You must be signed in to change notification settings - Fork 127
36 lines (31 loc) · 808 Bytes
/
Copy pathbuild.yml
File metadata and controls
36 lines (31 loc) · 808 Bytes
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
name: Build
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
install: |
sudo apt-get update
sudo apt-get install -y meson ninja-build pkg-config libsodium-dev
- os: macos-latest
install: |
brew update
brew install meson ninja libsodium pkg-config
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install dependencies
run: ${{ matrix.install }}
- name: Meson build
run: |
meson setup build --buildtype=release -Dstatic=false
meson compile -C build