-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Switch to github actions * Install all needed TeXLive packages * Install only needed TeXLive packages
- Loading branch information
Showing
3 changed files
with
74 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
TEXLIVE_VERSION: 2021 | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Setup | ||
run: | | ||
# install current version of inkscape | ||
sudo add-apt-repository -y ppa:inkscape.dev/stable | ||
sudo apt-get update -q | ||
# curl for download, dbus-x11 fixes a lot of warnings from inkscape that | ||
# cluttered the log | ||
sudo apt-get install inkscape curl dbus-x11 -y | ||
inkscape --version | ||
# install texlive | ||
pip install https://github.com/MaxNoe/texlive-batch-installation/archive/master.tar.gz | ||
install_texlive -t $TEXLIVE_VERSION --collection='-a' --package-file tex-packages.txt -p $HOME/.local/texlive -v | ||
echo "$HOME/.local/texlive/$TEXLIVE_VERSION/bin/x86_64-linux" >> $GITHUB_PATH | ||
- name: Install Montserrat Font | ||
run: | | ||
curl -Lo $HOME/montserrat.zip https://fonts.google.com/download?family=Montserrat | ||
mkdir -p $HOME/.local/share/fonts | ||
unzip -d $HOME/.local/share/fonts $HOME/montserrat.zip | ||
fc-cache | ||
fc-list 'Montserrat' | ||
luaotfload-tool --update --force | ||
- name: Build | ||
run: | | ||
dbus-run-session python create_logos.py -n 2 | ||
zip -r ./s4f_all_logos.zip ./s4f_all_logos -x '*.zip' | ||
mv s4f_all_logos.zip s4f_all_logos | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: s4f_all_logos/*.zip |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
epstopdf-pkg | ||
fontspec | ||
geometry | ||
graphics | ||
ifmtarg | ||
infwarerr | ||
latex | ||
latex-bin | ||
luacode | ||
lualatex-math | ||
luaotfload | ||
luatex | ||
luatex85 | ||
luatex85 | ||
luatexbase | ||
pgf | ||
standalone | ||
tools | ||
xcolor | ||
xifthen | ||
xkeyval | ||
ltxcmds |