File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -59,15 +59,31 @@ jobs:
5959 matrix :
6060 node-version : [ 20.x ]
6161 db : [ 'athena', 'bigquery', 'snowflake' ]
62+ target : [ "x86_64-unknown-linux-gnu" ]
6263 fail-fast : false
6364
6465 steps :
6566 - name : Checkout
6667 uses : actions/checkout@v4
68+ - name : Install Rust
69+ uses : actions-rust-lang/setup-rust-toolchain@v1
70+ with :
71+ toolchain : nightly-2024-07-15
72+ # override: true # this is by default on
73+ rustflags : " "
74+ components : rustfmt
75+ target : ${{ matrix.target }}
6776 - name : Install Node.js ${{ matrix.node-version }}
6877 uses : actions/setup-node@v4
6978 with :
7079 node-version : ${{ matrix.node-version }}
80+ - name : Install cargo-cp-artifact
81+ run :
npm install -g [email protected] 82+ - uses : Swatinem/rust-cache@v2
83+ with :
84+ workspaces : ./packages/cubejs-backend-native
85+ key : native-${{ runner.OS }}-${{ matrix.target }}
86+ shared-key : native-${{ runner.OS }}-${{ matrix.target }}
7187 - name : Get yarn cache directory path
7288 id : yarn-cache-dir-path
7389 run : echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
87103 run : yarn build
88104 - name : Lerna tsc
89105 run : yarn tsc
106+ - name : Build native (no python)
107+ run : cd packages/cubejs-backend-native && npm run native:build-release
90108 - name : Run Integration tests for ${{ matrix.db }} matrix
91109 timeout-minutes : 30
92110 env :
You can’t perform that action at this time.
0 commit comments