-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): improve security, add build target riscv with best effort …
…support (#6227) Description Improve security for GHA workflows by reducing permissions Improve concurrency selection and cancelation Add targeted testNet builds options and comments to ffi builds Add via branch selection CI build all Add build target ```riscv```, with best effort enabled, so that builds are not blocked, but hopefully somebody will investigate a fix, if possible Motivation and Context Improvements for GHA build workflows Hope to motivate somebody to look at the ```riscv``` build issues with the ring crate How Has This Been Tested? Builds in local fork What process can a PR reviewer use to test or verify this change? --- <!-- Checklist --> <!-- 1. Is the title of your PR in the form that would make nice release notes? The title, excluding the conventional commit tag, will be included exactly as is in the CHANGELOG, so please think about it carefully. --> Breaking Changes --- - [x] None - [ ] Requires data directory on base node to be deleted - [ ] Requires hard fork - [ ] Other - Please specify <!-- Does this include a breaking change? If so, include this line as a footer --> <!-- BREAKING CHANGE: Description what the user should do, e.g. delete a database, resync the chain -->
- Loading branch information
Showing
7 changed files
with
57 additions
and
19 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,5 @@ | ||
[target.aarch64-unknown-linux-gnu] | ||
linker = "aarch64-linux-gnu-gcc" | ||
|
||
[target.riscv64gc-unknown-linux-gnu] | ||
linker = "riscv64-linux-gnu-gcc" |
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
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
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
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
This file was deleted.
Oops, something went wrong.
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 | ||
# | ||
# Install Ubuntu aarch64(arm64)/riscv64 deb dev/tool packages on x86_64 | ||
# | ||
USAGE="Usage: $0 ISA_ARCH other packages, ie aarch64" | ||
|
||
if [ "$#" == "0" ]; then | ||
echo "$USAGE" | ||
exit 1 | ||
fi | ||
|
||
isa_arch=${1} | ||
shift | ||
|
||
apt-get --assume-yes install $* \ | ||
pkg-config-${isa_arch}-linux-gnu \ | ||
gcc-${isa_arch}-linux-gnu \ | ||
g++-${isa_arch}-linux-gnu |