Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test workflow #127

Merged
merged 4 commits into from
Mar 9, 2024
Merged

Fix test workflow #127

merged 4 commits into from
Mar 9, 2024

Conversation

reitzig
Copy link
Owner

@reitzig reitzig commented Mar 9, 2024

No description provided.

Comment on lines +17 to +18
# TODO: re-enable test on MacOS once we have a way to install TeXlive
#- macos-latest
Copy link
Owner Author

@reitzig reitzig Mar 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koppor FYI: Action zauguin/install-texlive@v3 which you introduced doesn't seem to support macOS:

run echo "date=$(date -I)" >> $GITHUB_OUTPUT
date: option requires an argument -- I

IIRC, that's a standard problem you run into because macOS doesn't come with GNU tools by default.

Happy to accept a PR that re-introduces testing on macOS!

Comment on lines 49 to 53
- name: Install MiKTeX
if: matrix.os == 'windows-latest'
run: |
choco install miktex --no-progress
echo "C:\Program Files\MiKTeX\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koppor Wow, this is slow:

image

Do you have a way handy to use caching on this? Is there a dedicated action for choco you can recommend?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, it's also brittle; I see failures sometimes. :/

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caching for choco install is still an open issue: chocolatey/choco#2134. - And I am not aware of any other actions.

- Run workflow on target OS
- Drop macOS; TeXlive install action doesn't work.
- Un-freeze bundler.
@reitzig reitzig merged commit 459b30b into master Mar 9, 2024
6 checks passed
@reitzig reitzig deleted the fix/test-workflow branch March 9, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants