This repository has been archived on 2024-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
Isabelle_DOF/.woodpecker/build.yml

34 lines
1019 B
YAML
Raw Normal View History

pipeline:
2022-03-17 22:32:35 +00:00
build:
2022-03-26 19:43:53 +00:00
image: docker.io/logicalhacking/isabelle2021-1
commands:
- export ARTIFACT_DIR=$CI_WORKSPACE/.artifacts/$CI_REPO/$CI_BRANCH/$CI_BUILD_NUMBER/$LATEX
2022-03-19 20:29:22 +00:00
- mkdir -p $ARTIFACT_DIR
- export `isabelle getenv ISABELLE_HOME_USER`
- mkdir -p $ISABELLE_HOME_USER/etc
- echo "ISABELLE_PDFLATEX=\"$LATEX --file-line-error\"" >> $ISABELLE_HOME_USER/etc/settings
- isabelle components -u `pwd`
2022-03-19 20:29:22 +00:00
- isabelle build -D . -o browser_info
2022-03-26 21:30:15 +00:00
- isabelle mkroot_DOF DOF_test
- isabelle build -D DOF_test
2022-03-19 20:29:22 +00:00
- cp -r $ISABELLE_HOME_USER/browser_info $ARTIFACT_DIR
- cd $ARTIFACT_DIR
2022-03-26 22:11:03 +00:00
- cd ../..
2022-03-19 20:29:22 +00:00
- ln -s * latest
deploy:
image: docker.io/drillster/drone-rsync
settings:
hosts: [ "ci.logicalhacking.com"]
port: 22
2022-03-20 11:04:23 +00:00
source: .artifacts/$CI_REPO_OWNER/*
target: $CI_REPO_OWNER
2022-03-19 20:29:22 +00:00
include: [ "**.*"]
key:
from_secret: artifacts_ssh
user: artifacts
matrix:
LATEX:
- pdflatex
- lualatex