Docker container and GitHub action for compiling therion projects.
678
This is the docker container version for therion project.
After you have cloned this repository you need to launch following commands
git submodule --init git submodule update
The container build is available on Docker Hub.
To use it, just mount your project dir in any container path (the example below uses /opt) and pass the .thconfig file as usual.
docker run --rm -it -v "C:\mytherionproject:/opt" --workdir /opt matteopic/therion:6.3.1 project.thconfig
You can use the action to let the github compile and release the project for you.
Use following step snippet for the .github/workflows/main.yml file.
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Build with therion
uses: matteopic/[email protected]
with:
thconfig: 'myproject.thconfig'
The following inputs can be used as step.with keys:
| Name | Type | Default | Description |
|---|---|---|---|
thconfig | String | Therion config file used for the build. Path is relative to repository root. (Required) |
Required The path of thconfig file relative to the repository.
For a full working example look at grotta del fiume project. When a push occurs therion project is compiled and resulting PDF, LOX files are published in a github hosted website. Here the github workflow
Content type
Image
Digest
sha256:83a1e8d90…
Size
257.7 MB
Last updated
about 1 year ago
docker pull matteopic/therion:6.3.4