-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Roman Volosatovs <[email protected]>
- Loading branch information
1 parent
34daa3a
commit 60ce9e5
Showing
2 changed files
with
19 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -xe | ||
|
||
id=$(gh run list -b main -w west -L 1 --json databaseId -q '.[].databaseId') | ||
git clean -xf lib target/artifacts | ||
gh run download -D lib -n 'passthrough' "$id" | ||
gh run download -D target/artifacts -p 'west-*' "$id" | ||
mv -v target/artifacts/west-aarch64-apple-darwin/lib/libwest_sys.a ./lib/aarch64-darwin/libwest.a | ||
mv -v target/artifacts/west-aarch64-linux-android/lib/libwest_sys.a ./lib/aarch64-android/libwest.a | ||
mv -v target/artifacts/west-aarch64-unknown-linux-musl/lib/libwest_sys.a ./lib/aarch64-linux/libwest.a | ||
mv -v target/artifacts/west-riscv64gc-unknown-linux-gnu/lib/libwest_sys.a ./lib/riscv64-linux/libwest.a | ||
mv -v target/artifacts/west-x86_64-apple-darwin/lib/libwest_sys.a ./lib/x86_64-darwin/libwest.a | ||
mv -v target/artifacts/west-x86_64-pc-windows-gnu/lib/libwest_sys.a ./lib/x86_64-windows/libwest.a | ||
mv -v target/artifacts/west-x86_64-unknown-linux-musl/lib/libwest_sys.a ./lib/x86_64-linux/libwest.a | ||
git reset | ||
git add -f lib | ||
git commit -Ss -m 'build: add build artifacts' |
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