Skip to content

Commit bc2210f

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

File tree

2 files changed

+24
-27
lines changed

2 files changed

+24
-27
lines changed

.github/workflows/CI.yml

Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,29 @@ 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+
# gsk4
28+
- name: "gsk4: tests"
29+
run: xvfb-run --auto-servernum cargo test --manifest-path gsk4/Cargo.toml --all-features
30+
- name: "gsk4-sys: tests"
31+
run: xvfb-run --auto-servernum cargo test --manifest-path gsk4/sys/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-sys: tests"
38+
run: xvfb-run --auto-servernum cargo test --manifest-path gdk4/sys/Cargo.toml --all-features
39+
- name: "gdk4: build"
40+
run: cargo build --manifest-path gdk4/Cargo.toml --all-features
41+
# gtk4
42+
- name: "gtk4: tests"
43+
run: xvfb-run --auto-servernum cargo test --manifest-path gtk4/Cargo.toml --all-features
44+
- name: "gtk4-sys: tests"
45+
run: xvfb-run --auto-servernum cargo test --manifest-path gtk4/sys/Cargo.toml --all-features
46+
- name: "gtk4: build"
47+
run: cargo build --manifest-path gtk4/Cargo.toml --all-features
48+
49+
- uses: bcomnes/cleanup-xvfb@v1
5150

5251
fmt:
5352
name: Rustfmt
@@ -64,13 +63,11 @@ jobs:
6463
with:
6564
command: fmt
6665
args: --all -- --check
67-
- run: make regen_check
6866

6967
checker:
7068
name: gtk-rs checker
7169
runs-on: ubuntu-latest
7270
steps:
73-
- uses: actions/checkout@v2
7471
- uses: actions/checkout@v2
7572
with:
7673
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)