Skip to content

Commit 62706cd

Browse files
CI: update post migration
1 parent 911a16f commit 62706cd

File tree

2 files changed

+20
-27
lines changed

2 files changed

+20
-27
lines changed

.github/workflows/CI.yml

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,25 @@ jobs:
2424
with:
2525
toolchain: ${{ matrix.rust }}
2626
override: true
27-
- uses: actions-rs/cargo@v1
28-
name: "Docs"
29-
with:
30-
command: doc
31-
args: --features "dox,embed-lgpl-docs"
32-
- uses: actions-rs/cargo@v1
33-
name: "Test"
34-
with:
35-
command: test
36-
args: --features "embed-lgpl-docs"
37-
- uses: actions-rs/cargo@v1
38-
name: "Build"
39-
with:
40-
command: build
41-
args: --features "purge-lgpl-docs"
42-
- run: git diff -R --exit-code
43-
# - uses: actions/checkout@v2
44-
# with:
45-
# repository: gtk-rs/examples4
46-
# ref: master
47-
# path: examples4
48-
# - name: Examples
49-
# working-directory: examples4
50-
# run: cargo check
27+
- name: install dependencies
28+
run: sudo dnf install -y xorg-x11-server-Xvfb
29+
# gsk4
30+
- name: "gsk4: tests"
31+
run: xvfb-run --auto-servernum cargo test --manifest-path gsk4/Cargo.toml --all-features
32+
- name: "gsk4: build"
33+
run: cargo build --manifest-path gsk4/Cargo.toml --all-features
34+
# gdk4
35+
- name: "gdk4: tests"
36+
run: xvfb-run --auto-servernum cargo test --manifest-path gdk4/Cargo.toml --all-features
37+
- name: "gdk4: build"
38+
run: cargo build --manifest-path gdk4/Cargo.toml --all-features
39+
# gtk4
40+
- name: "gtk4: tests"
41+
run: xvfb-run --auto-servernum cargo test --manifest-path gtk4/Cargo.toml --all-features
42+
- name: "gtk4: build"
43+
run: cargo build --manifest-path gtk4/Cargo.toml --all-features
44+
45+
- uses: bcomnes/cleanup-xvfb@v1
5146

5247
fmt:
5348
name: Rustfmt
@@ -64,13 +59,11 @@ jobs:
6459
with:
6560
command: fmt
6661
args: --all -- --check
67-
- run: make regen_check
6862

6963
checker:
7064
name: gtk-rs checker
7165
runs-on: ubuntu-latest
7266
steps:
73-
- uses: actions/checkout@v2
7467
- uses: actions/checkout@v2
7568
with:
7669
repository: gtk-rs/checker

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ members = [
88
"gtk4/sys",
99
]
1010

11-
exclude = ["gir"]
11+
exclude = ["checker", "gir"]

0 commit comments

Comments
 (0)