Repository navigation
51 lines (50 loc) · 1.62 KB
/
Copy pathmain.yml
File metadata and controls
51 lines (50 loc) · 1.62 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Copyright 2022, 2024, 2026 David Corbett
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Main workflow
on: push
jobs:
main:
runs-on: macos-26
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: 3.12
cache: pip
- name: Install Pygments
run: pip install -r requirements.txt
- name: Install build tools
run: |
brew update
brew install imagemagick make pngcrush
pip install 'cmake < 4'
- name: Build FrobTads
run: |
wget https://github.com/realnc/frobtads/releases/download/v2.0/frobtads-2.0.tar.bz2
tar -xf frobtads-2.0.tar.bz2
cd frobtads-2.0
mkdir build
cd build
cmake ..
sudo cmake --build . --target install
sudo chown -R $(id -u):$(id -g) /usr/local/share/frobtads/tads3/lib/webuires
- name: Build
run: make -j
- name: Test
run: make -j check
- name: Upload build artifacts
uses: actions/upload-artifact@v7
with:
name: images
path: '*.t3'