Skip to content

Add README.md

Add README.md #42

Workflow file for this run

# Copyright 2022, 2024 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-14
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
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
- 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@v4
with:
name: images
path: '*.t3'