Skip to content

WIP Update gha #1010

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

WIP Update gha #1010

wants to merge 1 commit into from

Conversation

c2main
Copy link
Collaborator

@c2main c2main commented Sep 28, 2023

The main point here is to allow faster builds and regression testing.

So instead of building container image with pgaf source code included we build more specialized images without source code.

We then pass USE_DOCKER=1 to make in order to trigger building stages in docker, like this:

cd docs
make USE_DOCKER=1 all

Also split the GHA workflow to select only jobs relevant given files changes.

For PR:

  • no ci for docs changes
  • no docs for !docs changes
  • no latex for docs changes
  • latex only for tikz changes
  • linting always

For push: all run, no exception

the main point here is to allow faster builds and regression testing.

So instead of building container image with pgaf source code included we
build more specialized images without source code.
We then pass USE_DOCKER=1 to make in order to trigger building stages in
docker, like this:

```
cd docs
make USE_DOCKER=1 all
```

Also split the GHA workflow to select only jobs relevant given files
changes.

For PR:

* no ci for docs changes
* no docs for !docs changes
* no latex for docs changes
* latex only for tikz changes
* linting alwauys

For push: all run, no exception
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.

1 participant