Skip to content
Snippets Groups Projects
Commit e1440f22 authored by tuhe's avatar tuhe
Browse files

CI/CD

parent 7a8a5a2b
No related branches found
No related tags found
No related merge requests found
Pipeline #7456 failed
Showing
with 937 additions and 930 deletions
image: ubuntu:22.04
image: python:3.9-buster
stages:
# - pull
......@@ -105,13 +105,16 @@ pages:
script:
- echo "Building the documentation."
- apt-get update
- apt install git
- apt install -y git
- apt install -y inkscape
- apt install -y python-opengl xvfb # Virtual framebuffer for GL stuff.
# - apt install -y python3-sphinx
- pwd
- ls
- mkdir public
- echo "hello" > public/index.html
- cp tests/expected/* public/expected
- cp tests/test_images/* public/test_images
# - apt install -y python3-sphinx
# - echo "hello" > public/index.html
# - pip install -U -r pythontools/requirements_full.txt --no-cache --upgrade
# - cd ../02465students_complete/docs/source
# - sphinx-build -b html . ../../../02465public/public
......
File moved
......@@ -16,7 +16,7 @@ CDIR = CDIR.replace('\\','/')
SVG_EDIT_RELPATH = "osvgs" # files that are supposed to be edited goes here.
SVG_TMP_RELPATH = "tmp" # various files that can be flat out deleted goes here
SVG_TEXINCLUDE_RELPATH = "do_not_edit" # the no_fonts version and the pure (+fonts) versions goes here
DTU_beamer_base = CDIR +"/DTU_Beamer_files"
DTU_beamer_base = CDIR +"/data/DTU_Beamer_files"
BLANK_PNG =DTU_beamer_base + "/blank.png"
def ensure_dir(dname):
......@@ -406,13 +406,17 @@ def move_template_files(output_dir="examples/output", output_tex_file=None):
files_to_move = ["tex_dtu_logo.pdf", "tex_dtu_compute_a_uk.pdf", "tex_dtu_frise.pdf", "dtucolours.tex",
"beamerthemeDTU.sty", "beamerfontthemeDTU.sty","beamercolorthemeDTU.sty",
"beamerinnerthemeDTU.sty", "beamerouterthemeDTU.sty", "departments.tex", "tex_compute_uk.pdf",
"02450_beamer_preamble.tex", # Deprecated.
# "02450_beamer_preamble.tex", # Deprecated.
'beamer_slider_preamble.tex', # The current version.
]
zipf = DTU_beamer_base + "/DTU_Beamer_files.zip"
# os.path.exists(zipf)
for f in glob.glob(DTU_beamer_base + "/*"):
shutil.copyfile(f, str(output_dir) + "/" + os.path.basename(f))
return
tmp = tempfile.mkdtemp()
# output_dir = output_dir)
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment