-
-
Notifications
You must be signed in to change notification settings - Fork 46
32 lines (30 loc) · 881 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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: master
path: gir
- uses: actions/checkout@v4
with:
repository: gtk-rs/gtk4-rs
ref: master
path: gtk4-rs
- uses: actions/checkout@v4
with:
repository: gtk-rs/gtk3-rs
ref: master
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 .'