This action builds a Proofscape content repo. It can be used in a workflow, for example to check on pushes and pull-requests that the repo at least builds.
- uses: proofscape/pfsc-repo-build-action@v3
with:
# The owner/reponame of the Proofscape content repo to be built.
# Default: ${{ github.repository }}
content-repo: ''
# The version at which to build the Proofscape content repo.
# If unspecified, build @WIP, meaning the reference or SHA that triggered
# the workflow, or the default branch if no such event.
# Default: WIP
content-vers: ''
# Whether to do a clean build, ensuring all modules are re-read
# from source.
# Default: false
clean: ''
# PISE version to use when building. This is the tag for the
# `proofscape/pise` docker image that will be used to perform the build.
# Must be `0.28.0` or later. To use earlier versions of PISE, must use
# `v1` of this `pfsc-repo-build-action`.
#
# No default; this argument is REQUIRED.
#
# Legal values include 'latest', as well as numbered versions such
# as '0.29.1' or '0.30.0'.
#
# Version 'latest' should be used with caution. Any time a new version
# of PISE is released, your workflow may break. This can be a problem,
# or can be viewed as a useful way to learn about the release of breaking
# changes in new versions of PISE.
#
# Pinning at a specific numbered version is a more stable approach. Your
# workflow will not unexpectedly break, and you can upgrade whenever you
# need new features available only in later versions of PISE (possibly also
# having to adapt to breaking changes).
pise-vers: ''
# Working directory, i.e. space in which to do things like checkout the
# content repo. The latter will be checked out under `./proofscape/lib/gh`
# relative to this directory.
# Default: ${{ github.workspace }}
workspace: ''
# Name of docker volume to use for the lib directory. After the build
# completes (if successful), this volume will be populated with the
# contents of `./proofscape/lib`. Can be useful in later steps, if desired.
# Default: pfsc-lib
lib-volume: ''
# Name of docker volume to use for the build directory. After the build
# completes (if successful), this volume will be populated with the
# contents of `./proofscape/build`. Can be useful in later steps, if desired.
# Default: pfsc-build
build-volume: ''
# Name of docker volume to use for the graphdb directory. After the build
# completes (if successful), this volume will be populated with the
# contents of `./proofscape/graphdb`. Can be useful in later steps, if desired.
# Default: pfsc-gdb
gdb-volume: ''
# Whether to keep the PISE container running after completing.
# Default: false
container-persist: ''
# The name of the PISE docker container in which the build takes place.
# Default: pise
container-name: ''
# Controls diagnostic log output
# Default: 1
debug-level: ''
- uses: proofscape/pfsc-repo-build-action@v3
with:
pise-vers: latest
- uses: proofscape/pfsc-repo-build-action@v3
with:
pise-vers: latest
content-vers: v3.1.4
- uses: proofscape/pfsc-repo-build-action@v3
with:
pise-vers: 0.30.0
- uses: proofscape/pfsc-repo-build-action@v3
with:
pise-vers: latest
container-persist: true
- working-directory: proofscape/build/gh/${{ github.repository }}/WIP
run: |
docker exec pise bash -c "\
grep 'some expected string' path/to/some/module/Thm.dg.json \
"