-
Notifications
You must be signed in to change notification settings - Fork 75
36 lines (32 loc) · 917 Bytes
/
macos.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
name: macOS Build
on:
push:
branches:
- main
pull_request:
jobs:
install_dependencies_and_build:
name: Install Dependencies and Build
runs-on: macos-latest
steps:
- name: Prepare environment and install dependencies
run: |
brew update
brew install GraphicsMagick webp cmake
brew install libdeflate libsixel
brew install ffmpeg jpeg-turbo libexif libpng
brew install openslide
brew install librsvg cairo
brew install poppler
brew install pandoc
- name: Get the Source
uses: actions/checkout@v3
- name: Build timg
run: |
mkdir build
cd build
cmake .. -DWITH_VIDEO_DECODING=On -DWITH_VIDEO_DEVICE=On -DWITH_OPENSLIDE_SUPPORT=On
make -k
- name: Print timg Version string
run: |
build/src/timg --version