mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
Call the shells via a sh symlink to trigger their POSIX-compliant behavior (if special-cased based on how the shell was invoked)
This commit is contained in:
@@ -62,7 +62,7 @@ runs:
|
|||||||
docker system prune -a --volumes
|
docker system prune -a --volumes
|
||||||
sudo apt remove -y *docker*
|
sudo apt remove -y *docker*
|
||||||
# Install uidmap which will be required for the explicitly installed Docker
|
# Install uidmap which will be required for the explicitly installed Docker
|
||||||
sudo apt install uidmap
|
sudo apt install -y uidmap
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
|
||||||
- name: Update system dependencies
|
- name: Update system dependencies
|
||||||
|
|||||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -208,7 +208,7 @@ jobs:
|
|||||||
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
|
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # 6.0.0
|
||||||
- name: shellcheck
|
- name: shellcheck
|
||||||
run: |
|
run: |
|
||||||
sudo apt install shellcheck
|
sudo apt install -y shellcheck
|
||||||
find . -iname "*.sh" | while read -r script; do
|
find . -iname "*.sh" | while read -r script; do
|
||||||
shellcheck --enable=all --shell=sh --severity=info $script
|
shellcheck --enable=all --shell=sh --severity=info $script
|
||||||
done
|
done
|
||||||
|
|||||||
14
.github/workflows/stack_size.yml
vendored
14
.github/workflows/stack_size.yml
vendored
@@ -37,12 +37,16 @@ jobs:
|
|||||||
GOBIN=$(pwd) go install github.com/yaegashi/muslstack@d19cc5866abce3ca59dfc1666df7cc97097d0933
|
GOBIN=$(pwd) go install github.com/yaegashi/muslstack@d19cc5866abce3ca59dfc1666df7cc97097d0933
|
||||||
./muslstack -s $STACK ./monerod-muslstack
|
./muslstack -s $STACK ./monerod-muslstack
|
||||||
|
|
||||||
sudo apt install bash dash zsh busybox
|
sudo apt update -y
|
||||||
ln -s $(which busybox) /usr/bin/ash
|
sudo apt upgrade -y
|
||||||
ln -s $(which busybox) /usr/bin/hush
|
sudo apt install -y ksh bash tcsh dash zsh busybox
|
||||||
for shell in sh bash dash zsh ash hush; do
|
sudo ln -s $(which busybox) /usr/bin/ash
|
||||||
|
sudo ln -s $(which busybox) /usr/bin/hush
|
||||||
|
for shell in sh ksh bash tcsh dash zsh ash hush; do
|
||||||
cp monerod monerod-idss-$shell
|
cp monerod monerod-idss-$shell
|
||||||
$shell ./orchestration/increase_default_stack_size.sh monerod-idss-$shell
|
ln -s $(which $shell) sh
|
||||||
|
./sh ./orchestration/increase_default_stack_size.sh monerod-idss-$shell
|
||||||
|
rm ./sh
|
||||||
done
|
done
|
||||||
|
|
||||||
find . -iname "monerod-*" | while read -r bin; do
|
find . -iname "monerod-*" | while read -r bin; do
|
||||||
|
|||||||
Reference in New Issue
Block a user