CI: Auto update gtk macos from gitlab CI pipeline #279
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, pull_request] | |
name: CI | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- uses: actions/checkout@v4 | |
with: | |
repository: gtk-rs/gir | |
ref: main | |
path: gir | |
- uses: actions/checkout@v4 | |
with: | |
repository: gtk-rs/gtk4-rs | |
ref: main | |
path: gtk4-rs | |
- uses: actions/checkout@v4 | |
with: | |
repository: gtk-rs/gtk3-rs | |
ref: main | |
path: gtk3-rs | |
- working-directory: gir | |
run: cargo build --release | |
- run: './gir/target/release/gir -c gtk3-rs/gtk/sys/Gir.toml -m sys -o gtk3-rs/gtk/sys/ -d .' | |
- run: './gir/target/release/gir -c gtk4-rs/gtk4/sys/Gir.toml -m sys -o gtk4-rs/gtk4/sys/ -d .' |