-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt to fix native build/test in docker-dev CI
- Loading branch information
Showing
1 changed file
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -556,10 +556,29 @@ jobs: | |
df -h | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Use Node.js 20.x | ||
- name: Install Rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: nightly-2024-07-15 | ||
# override: true # this is by default on | ||
rustflags: "" | ||
components: rustfmt | ||
target: ${{ matrix.target }} | ||
- name: Install Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install Yarn | ||
run: npm install -g yarn | ||
- name: Set Yarn version | ||
run: yarn policies set-version v1.22.22 | ||
- name: Install cargo-cp-artifact | ||
run: npm install -g [email protected] | ||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
workspaces: ./packages/cubejs-backend-native | ||
key: native-${{ runner.OS }}-x86_64-unknown-linux-gnu | ||
shared-key: native-${{ runner.OS }}-x86_64-unknown-linux-gnu | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT" | ||
|
@@ -571,8 +590,6 @@ jobs: | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Set Yarn version | ||
run: yarn policies set-version v1.22.22 | ||
- name: Yarn install | ||
uses: nick-fields/retry@v3 | ||
env: | ||
|