Skip to content

Commit 93b7430

Browse files
committed
refactor push CI jobs
1 parent 721e6ba commit 93b7430

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/push.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -120,48 +120,18 @@ jobs:
120120
# files: ./packages/*/coverage/clover.xml
121121
# flags: cube-backend
122122
# verbose: true # optional (default = false)
123-
- name: Cargo fmt cubeorchestrator
124-
run: |
125-
cargo fmt --manifest-path rust/cubeorchestrator/Cargo.toml -- --check
126-
- name: Cargo build cubeorchestrator
127-
run: |
128-
cargo build --manifest-path rust/cubeorchestrator/Cargo.toml -j 4
129123
- name: Cargo test cubeorchestrator
130124
run: |
131125
cargo test --manifest-path rust/cubeorchestrator/Cargo.toml -j 1
132-
- name: Cargo fmt cubenativeutils
133-
run: |
134-
cargo fmt --manifest-path rust/cubenativeutils/Cargo.toml -- --check
135-
- name: Cargo build cubenativeutils
136-
run: |
137-
cargo build --manifest-path rust/cubenativeutils/Cargo.toml -j 4
138126
- name: Cargo test cubenativeutils
139127
run: |
140128
cargo test --manifest-path rust/cubenativeutils/Cargo.toml -j 1
141-
- name: Cargo fmt cubeshared
142-
run: |
143-
cargo fmt --manifest-path rust/cubeshared/Cargo.toml -- --check
144-
- name: Cargo build cubeshared
145-
run: |
146-
cargo build --manifest-path rust/cubeshared/Cargo.toml -j 4
147129
- name: Cargo test cubeshared
148130
run: |
149131
cargo test --manifest-path rust/cubeshared/Cargo.toml -j 1
150-
# - name: Cargo fmt cubesql
151-
# run: |
152-
# cargo fmt --manifest-path rust/cubesql/Cargo.toml -- --check
153-
# - name: Cargo build cubesql
154-
# run: |
155-
# cargo build --manifest-path rust/cubesql/Cargo.toml -j 4
156132
# - name: Cargo test cubesql
157133
# run: |
158134
# cargo test --manifest-path rust/cubesql/Cargo.toml -j 1
159-
# - name: Cargo fmt cubesqlplanner
160-
# run: |
161-
# cargo fmt --manifest-path rust/cubesqlplanner/cubesqlplanner/Cargo.toml -- --check
162-
# - name: Cargo build cubesqlplanner
163-
# run: |
164-
# cargo build --manifest-path rust/cubesqlplanner/cubesqlplanner/Cargo.toml -j 4
165135
# - name: Cargo test cubesqlplanner
166136
# run: |
167137
# cargo test --manifest-path rust/cubesqlplanner/cubesqlplanner/Cargo.toml -j 1
@@ -213,6 +183,21 @@ jobs:
213183
run: yarn lint:npm
214184
- name: Lerna lint
215185
run: yarn lerna run --concurrency 1 lint
186+
- name: Cargo fmt cubeorchestrator
187+
run: |
188+
cargo fmt --manifest-path rust/cubeorchestrator/Cargo.toml -- --check
189+
- name: Cargo fmt cubenativeutils
190+
run: |
191+
cargo fmt --manifest-path rust/cubenativeutils/Cargo.toml -- --check
192+
- name: Cargo fmt cubeshared
193+
run: |
194+
cargo fmt --manifest-path rust/cubeshared/Cargo.toml -- --check
195+
# - name: Cargo fmt cubesql
196+
# run: |
197+
# cargo fmt --manifest-path rust/cubesql/Cargo.toml -- --check
198+
# - name: Cargo fmt cubesqlplanner
199+
# run: |
200+
# cargo fmt --manifest-path rust/cubesqlplanner/cubesqlplanner/Cargo.toml -- --check
216201

217202
build:
218203
runs-on: ubuntu-20.04
@@ -265,6 +250,21 @@ jobs:
265250
run: yarn lerna run --concurrency 1 build
266251
env:
267252
NODE_OPTIONS: --max_old_space_size=4096
253+
- name: Cargo build cubeorchestrator
254+
run: |
255+
cargo build --manifest-path rust/cubeorchestrator/Cargo.toml -j 4
256+
- name: Cargo build cubenativeutils
257+
run: |
258+
cargo build --manifest-path rust/cubenativeutils/Cargo.toml -j 4
259+
- name: Cargo build cubeshared
260+
run: |
261+
cargo build --manifest-path rust/cubeshared/Cargo.toml -j 4
262+
# - name: Cargo build cubesql
263+
# run: |
264+
# cargo build --manifest-path rust/cubesql/Cargo.toml -j 4
265+
# - name: Cargo build cubesqlplanner
266+
# run: |
267+
# cargo build --manifest-path rust/cubesqlplanner/cubesqlplanner/Cargo.toml -j 4
268268

269269
build-cubestore:
270270
needs: [latest-tag-sha]

0 commit comments

Comments
 (0)