activation_token: Provide GTK 4 helper #1471
Workflow file for this run
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
on: | |
push: | |
branches: [master] | |
pull_request: | |
name: CI | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 | |
with: | |
command: check | |
args: --features "gtk4,pipewire,wayland,raw_handle,tracing,backend" | |
test: | |
name: Test Suite | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 | |
with: | |
command: test | |
args: --features "gtk4,pipewire,wayland,raw_handle,tracing,backend" | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo dnf install -y pipewire-devel clang-devel | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- run: rustup component add rustfmt | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: fmt | |
args: --all -- --check | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo dnf install -y pipewire-devel clang-devel | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- run: rustup component add clippy | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: clippy | |
args: --features "gtk4,pipewire,wayland,raw_handle,tracing,backend" -- -D warnings |