-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from EagleoutIce/37-speed-up-ci
Speed up the CI by caching
- Loading branch information
Showing
3 changed files
with
72 additions
and
18 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
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,45 @@ | ||
name: status check compile (does not push) | ||
'on': | ||
push: | ||
branches-ignore: | ||
- master | ||
- main | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout git repository | ||
uses: actions/checkout@v3 | ||
with: | ||
lfs: true | ||
submodules: true | ||
# https://github.com/actions/cache/issues/342 | ||
- name: Caching | ||
id: cache-documentation | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
build | ||
sub_* | ||
key: ${{ runner.os }}-pengu-cache-doc-${{ github.run_id }} | ||
restore-keys: ${{ runner.os }}-pengu-cache-doc- | ||
- name: Compile the Documentation, showcase and minimal | ||
uses: xu-cheng/latex-action@v2 | ||
with: | ||
root_file: | | ||
documentation.tex | ||
showcase.tex | ||
minimal.tex | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: status-artifact | ||
path: | | ||
build/minimal.pdf | ||
build/showcase.pdf | ||
build/documentation.pdf |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# tikzpingus | ||
|
||
This is work in progress! | ||
See the evolving [documentation](https://media.githubusercontent.com/media/EagleoutIce/tikzpingus/gh-pages/documentation.pdf). | ||
See the evolving [documentation](https://media.githubusercontent.com/media/EagleoutIce/tikzpingus/gh-pages/build/documentation.pdf). | ||
|
||
[<img src="https://github.com/EagleoutIce/tikzpingus/blob/gh-pages/preview-1.png?raw=true" width="600"/>](https://media.githubusercontent.com/media/EagleoutIce/tikzpingus/gh-pages/showcase.pdf) | ||
[<img src="https://github.com/EagleoutIce/tikzpingus/blob/gh-pages/preview-1.png?raw=true" width="600"/>](https://media.githubusercontent.com/media/EagleoutIce/tikzpingus/gh-pages/build/showcase.pdf) | ||
|
||
[<img src="https://github.com/EagleoutIce/tikzpingus/blob/gh-pages/minimal-1.png?raw=true" width="300"/>](https://media.githubusercontent.com/media/EagleoutIce/tikzpingus/gh-pages/minimal.pdf) | ||
[<img src="https://github.com/EagleoutIce/tikzpingus/blob/gh-pages/minimal-1.png?raw=true" width="300"/>](https://media.githubusercontent.com/media/EagleoutIce/tikzpingus/gh-pages/build/minimal.pdf) |