-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 864 Bytes
/
main.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
name: Build
on: [push, pull_request]
jobs:
Build:
name: ${{ matrix.platform.name }}
runs-on: ${{ matrix.platform.os }}
strategy:
matrix:
platform:
- { name: Windows, os: windows-latest }
- { name: Linux, os: ubuntu-latest, flags: -GNinja }
- { name: MacOS, os: macos-latest }
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: python -m pip install -U pip
- run: pip install meson ninja
- run: meson setup -Db_lto=false build
- run: meson compile -C build
- run: strip build/countchan || strip build/countchan.exe
- name: Upload
uses: actions/upload-artifact@v4
with:
name: binary-${{ matrix.platform.os }}
path: |
build/countchan**
!build/countchan*.p/**