99 - ' packages/**'
1010 - ' rust/cubestore/**'
1111 - ' rust/cubesql/**'
12- - ' rust/cubetranspilers/**'
1312 - ' .eslintrc.js'
1413 - ' .prettierrc'
1514 - ' package.json'
2524 - ' packages/**'
2625 - ' rust/cubestore/**'
2726 - ' rust/cubesql/**'
28- - ' rust/cubetranspilers/**'
2927 - ' .eslintrc.js'
3028 - ' .prettierrc'
3129 - ' package.json'
@@ -44,17 +42,11 @@ jobs:
4442 matrix :
4543 # Current docker version + next LTS
4644 node-version : [20.x, 22.x]
47- python-version : [3.11]
4845 transpile-worker-threads : [false, true]
49- transpile-native : [false, true]
50- exclude :
51- - transpile-worker-threads : true
52- transpile-native : true
5346 fail-fast : false
5447
5548 env :
5649 CUBEJS_TRANSPILATION_WORKER_THREADS : ${{ matrix.transpile-worker-threads }}
57- CUBEJS_TRANSPILATION_NATIVE : ${{ matrix.transpile-native }}
5850 steps :
5951 - id : get-tag-out
6052 run : echo "$OUT"
7668 uses : actions/setup-node@v4
7769 with :
7870 node-version : ${{ matrix.node-version }}
79- - name : Install Python
80- uses : actions/setup-python@v5
81- with :
82- python-version : ${{ matrix.python-version }}
8371 - name : Get yarn cache directory path
8472 id : yarn-cache-dir-path
8573 run : echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
@@ -107,11 +95,6 @@ jobs:
10795 run : yarn tsc
10896 - name : Build client
10997 run : yarn build
110- - name : Build cubejs-backend-native (with Python)
111- run : yarn run native:build-release-python
112- working-directory : ./packages/cubejs-backend-native
113- env :
114- PYO3_PYTHON : python${{ matrix.python-version }}
11598 - name : Lerna test
11699 run : yarn lerna run --concurrency 1 --stream --no-prefix unit
117100# - uses: codecov/codecov-action@v1
@@ -120,9 +103,6 @@ jobs:
120103# files: ./packages/*/coverage/clover.xml
121104# flags: cube-backend
122105# verbose: true # optional (default = false)
123- - name : Cargo test cubetranspilers
124- run : |
125- cargo test --manifest-path rust/cubetranspilers/Cargo.toml -j 1
126106 lint :
127107 runs-on : ubuntu-20.04
128108 timeout-minutes : 60
@@ -170,9 +150,6 @@ jobs:
170150 run : yarn lint:npm
171151 - name : Lerna lint
172152 run : yarn lerna run --concurrency 1 lint
173- - name : Cargo fmt cubetranspilers
174- run : |
175- cargo fmt --manifest-path rust/cubetranspilers/Cargo.toml -- --check
176153
177154 build :
178155 runs-on : ubuntu-20.04
@@ -225,9 +202,6 @@ jobs:
225202 run : yarn lerna run --concurrency 1 build
226203 env :
227204 NODE_OPTIONS : --max_old_space_size=4096
228- - name : Cargo build cubetranspilers
229- run : |
230- cargo build --manifest-path rust/cubetranspilers/Cargo.toml -j 4
231205
232206 build-cubestore :
233207 needs : [latest-tag-sha]
0 commit comments