-
Notifications
You must be signed in to change notification settings - Fork 0
146 lines (141 loc) · 7.76 KB
/
Copy pathtest-dir-structure.yml
File metadata and controls
146 lines (141 loc) · 7.76 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
name: Dir-Structure Tests
on:
push:
branches: ["trunk"]
paths:
- 'src/dev/dir-structure/src/**'
- 'src/dev/dir-structure/Cargo.toml'
- 'src/dev/dir-structure/README.md'
- 'src/dev/dir-structure/tests/**'
- 'src/dev/dir-structure/examples/**'
- 'src/dev/dir-structure-macros/**'
- 'doc/docs/content/docs/dev/dir-structure/*.doctests'
- '.github/workflows/test-dir-structure.yml'
pull_request:
branches: ["trunk"]
paths:
- 'src/dev/dir-structure/src/**'
- 'src/dev/dir-structure/Cargo.toml'
- 'src/dev/dir-structure/README.md'
- 'src/dev/dir-structure/tests/**'
- 'src/dev/dir-structure/examples/**'
- 'src/dev/dir-structure-macros/**'
- 'doc/docs/content/docs/dev/dir-structure/*.doctests'
- '.github/workflows/test-dir-structure.yml'
env:
CARGO_TERM_COLOR: always
COLOR: always
NEXUS_GROUP_BEGIN: "::group::{group}"
NEXUS_GROUP_END: "::endgroup::"
CC: clang
CXX: clang++
RUST_BACKTRACE: full
DIR_STRUCTURE_REPO_IN_ROOT_REPO: src/dev/dir-structure
jobs:
test:
name: Test dir-structure
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: Install dependencies
# run: sudo apt update && sudo apt install openssl libssl-dev
- name: Install rust
run: rustup install nightly && rustup default nightly
- name: Rust cache
uses: Swatinem/rust-cache@v2
- name: Run tests
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--all-features" }
- name: Run feature-combo tests (--no-default-features)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features" }
- name: Run feature-combo tests (--no-default-features --features assert_eq)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features assert_eq" }
- name: Run feature-combo tests (--no-default-features --features async)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features async" }
- name: Run feature-combo tests (--no-default-features --features tokio)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features tokio" }
- name: Run feature-combo tests (--no-default-features --features image)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features image" }
- name: Run feature-combo tests (--no-default-features --features image,image-format-png)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features image,image-format-png" }
- name: Run feature-combo tests (--no-default-features --features image,image-format-jpeg)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features image,image-format-jpeg" }
- name: Run feature-combo tests (--no-default-features --features resolve-path)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features resolve-path" }
- name: Run feature-combo tests (--no-default-features --features json)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features json" }
- name: Run feature-combo tests (--no-default-features --features toml)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features toml" }
- name: Run feature-combo tests (--no-default-features --features yaml)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features yaml" }
- name: Run feature-combo tests (--no-default-features --features ron)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features ron" }
- name: Run feature-combo tests (--no-default-features --features derive)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features derive" }
- name: Run feature-combo tests (--no-default-features --features tools)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features tools" }
- name: Run feature-combo tests (--features assert_eq)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq" }
- name: Run feature-combo tests (--features assert_eq,git)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,git" }
- name: Run feature-combo tests (--features assert_eq,async)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,async" }
- name: Run feature-combo tests (--features assert_eq,tokio)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,tokio" }
- name: Run feature-combo tests (--features assert_eq,image)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,image" }
- name: Run feature-combo tests (--features assert_eq,image,image-format-png)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,image,image-format-png" }
- name: Run feature-combo tests (--features assert_eq,async,image)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,async,image" }
- name: Run feature-combo tests (--features assert_eq,tokio,image)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,tokio,image" }
- name: Run feature-combo tests (--features assert_eq,tokio,image,image-format-png)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,tokio,image,image-format-png" }
- name: Run feature-combo tests (--features assert_eq,resolve-path)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,resolve-path" }
- name: Run feature-combo tests (--features assert_eq,tokio,resolve-path)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,tokio,resolve-path" }
- name: Run feature-combo tests (--features assert_eq,json,toml,yaml,ron)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,json,toml,yaml,ron" }
- name: Run feature-combo tests (--features assert_eq,async,json,toml,yaml,ron)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,async,json,toml,yaml,ron" }
- name: Run feature-combo tests (--features assert_eq,tokio,json,toml,yaml,ron)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--features assert_eq,tokio,json,toml,yaml,ron" }
- name: Run feature-combo tests (--no-default-features --features atomic-dir)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features atomic-dir" }
- name: Run feature-combo tests (--no-default-features --features atomic-dir,async)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features atomic-dir,async" }
- name: Run feature-combo tests (--no-default-features --features atomic-dir,async,tokio)
uses: ./.github/actions/test-dir-structure
with: { feature-combos: "--no-default-features --features atomic-dir,async,tokio" }