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
ci: Add dedicated job for documentation pages #139
base: main
Are you sure you want to change the base?
Conversation
The Fedora jobs build and deploy documentation twice, and that may be a problem. Use a dedicated workflow with proper a deploy job. This uses the Github Pages deploy action.
The |
uses: actions/checkout@v3 | ||
|
||
- name: Configure libportal | ||
run: meson setup --prefix=/usr builddir -Dbackend-gtk3=enabled -Dbackend-gtk4=enabled -Dbackend-qt5=enabled -Dbackend-qt6=enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can disable all backends as they wouldn't affect the docs.
run: meson setup --prefix=/usr builddir -Dbackend-gtk3=enabled -Dbackend-gtk4=enabled -Dbackend-qt5=enabled -Dbackend-qt6=enabled | ||
|
||
- name: Build libportal | ||
run: ninja -C builddir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run: ninja -C builddir | |
run: ninja -C builddir doc/libportal-1 |
Only build what is needed.
uses: actions/checkout@v3 | ||
|
||
- name: Configure libportal | ||
run: meson setup --prefix=/usr builddir -Dbackend-gtk3=enabled -Dbackend-gtk4=enabled -Dbackend-qt5=enabled -Dbackend-qt6=enabled |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run: meson setup --prefix=/usr builddir -Dbackend-gtk3=enabled -Dbackend-gtk4=enabled -Dbackend-qt5=enabled -Dbackend-qt6=enabled | |
run: meson setup --prefix=/usr builddir -Dtests=false -Dvapi=false |
The Fedora jobs build and deploy documentation twice, and that may be a problem.
Use a dedicated workflow with proper a deploy job. This uses the Github Pages deploy action.