gtk: Switch to 0.7 branch for now #427
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
name: github pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo dnf install -y pipewire-devel clang-devel | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- uses: actions-rs/cargo@v1 | |
#env: | |
# RUSTDOCFLAGS: -Z unstable-options --extern-html-root-url=zbus=https://docs.rs/zbus/latest/ --extern-html-root-url=pipewire=https://pipewire.pages.freedesktop.org/pipewire-rs/ --extern-html-root-url=zvariant=https://docs.rs/zvariant/latest/ --extern-html-root-url=enumflags2=https://docs.rs/enumflags2/0.6/ | |
with: | |
command: doc | |
args: --package ashpd --features "gtk4,pipewire,wayland,raw_handle" --no-deps | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v2 | |
env: | |
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | |
PUBLISH_BRANCH: gh-pages | |
PUBLISH_DIR: ./target/doc/ |