CI: fix gtk-rs checker
@@ -120,13 +120,32 @@ jobs:
checker:
name: gtk-rs checker
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ crate:
+ - atk
+ - gdk
+ - gdk-pixbuf
+ - gdkx11
+ - gio
+ - glib
+ - graphene
+ - gtk
+ - pango
+ - pangocairo
steps:
+ - uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: gtk-rs/checker
ref: master
path: checker
- - working-directory: checker
- run: cargo build --release
- - run: "./checker/target/release/checker ."
- - run: "./checker/check_init_asserts"
+ - run: cargo build --release
+ working-directory: checker
+ - run: cargo run -- ../${{matrix.crate}}
+ working-directory: checker
+ - run: cargo run -- ../${{matrix.crate}}/sys
+ working-directory: checker
+ - run: ./check_init_asserts ../${{matrix.crate}}
+ working-directory: checker
+ if: matrix.crate == 'atk' || matrix.crate == 'gdk' || matrix.crate == 'gdkx11' || matrix.crate == 'gtk'
