Skip to content

Commit

Permalink
fix(ci): try fix tpch permission error (#872)
Browse files Browse the repository at this point in the history
no idea about the root cause so let's just chmod for now...

Signed-off-by: Alex Chi Z <[email protected]>
  • Loading branch information
skyzh authored Jan 17, 2025
1 parent 4144c89 commit 9b3516f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
run: make tpch
- name: Run benchmark
run: cargo bench --bench tpch -- --output-format bencher | tee output.txt
env:
RUST_BACKTRACE: 1
- name: Store benchmark result
if: github.event_name != 'pull_request'
uses: benchmark-action/github-action-benchmark@v1
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ $(TPCH_DBGEN_PATH):

tpch: $(TPCH_DBGEN_PATH)
make -C $(TPCH_DBGEN_PATH)
cd $(TPCH_DBGEN_PATH) && ./dbgen -f && mkdir -p tbl && mv *.tbl tbl
cd $(TPCH_DBGEN_PATH) && ./dbgen -f && mkdir -p tbl && mv *.tbl tbl && chmod -R 755 tbl

tpch-10gb: $(TPCH_DBGEN_PATH)
make -C $(TPCH_DBGEN_PATH)
cd $(TPCH_DBGEN_PATH) && ./dbgen -f -s 10 && mkdir -p tbl && mv *.tbl tbl
cd $(TPCH_DBGEN_PATH) && ./dbgen -f -s 10 && mkdir -p tbl && mv *.tbl tbl && chmod -R 755 tbl

.PHONY: docs check fmt fmt_check clippy clippy_check build test docs_check clean tpch

0 comments on commit 9b3516f

Please sign in to comment.