Skip to content

Commit

Permalink
Package toolchain binaries in tarballs
Browse files Browse the repository at this point in the history
This avoids losing the execute bit on them when we download them in subsequent tasks.
  • Loading branch information
bhearsum committed May 16, 2023
1 parent e62c398 commit 713a216
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions taskcluster/ci/toolchain/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ tasks:
script: build-preprocess.sh
resources:
- taskcluster/scripts/toolchain/build-preprocess.sh
toolchain-artifact: public/build/dedupe
toolchain-artifact: public/build/dedupe.tar.zst
fetches:
fetch:
- preprocess
Expand All @@ -89,7 +89,7 @@ tasks:
script: build-extract-lex.sh
resources:
- taskcluster/scripts/toolchain/build-extract-lex.sh
toolchain-artifact: public/build/extract_lex
toolchain-artifact: public/build/extract_lex.tar.zst
fetches:
fetch:
- extract-lex
Expand Down
4 changes: 3 additions & 1 deletion taskcluster/scripts/toolchain/build-extract-lex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ cd $build_dir
cmake $EXTRACT_LEX_DIR
make -j$(nproc)

cp $build_dir/extract_lex $UPLOAD_DIR
cd $build_dir
chmod +x extract_lex
tar --zstd -cf $UPLOAD_DIR/extract_lex.tar.zst extract_lex
4 changes: 3 additions & 1 deletion taskcluster/scripts/toolchain/build-preprocess.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ cd $build_dir
cmake $PREPROCESS_DIR -DBUILD_TYPE=Release
make -j$(nproc)

cp $build_dir/bin/dedupe $UPLOAD_DIR
cd $build_dir/bin
chmod +x dedupe
tar --zstd -cf $UPLOAD_DIR/dedupe.tar.zst dedupe

0 comments on commit 713a216

Please sign in to comment.