Skip to content

Commit

Permalink
Merge branch 'customizations/23.8.16' into 23.8_some_docker_container…
Browse files Browse the repository at this point in the history
…s_dependencies
  • Loading branch information
Enmk authored Oct 21, 2024
2 parents 6cf2cb7 + a48e4ba commit e789a1c
Show file tree
Hide file tree
Showing 69 changed files with 2,417 additions and 1,259 deletions.
10 changes: 10 additions & 0 deletions .github/actions/common_setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ runs:
echo "The GITHUB_JOB_OVERRIDDEN ENV is unset, and must be set for the nested jobs"
exit 1
fi
- name: Setup zram
shell: bash
run: |
sudo modprobe zram
MemTotal=$(grep -Po "(?<=MemTotal:)\s+\d+" /proc/meminfo) # KiB
Percent=200
ZRAM_SIZE=$(($MemTotal / 1024 / 1024 * $Percent / 100)) # Convert to GiB
.github/retry.sh 30 2 sudo zramctl --size ${ZRAM_SIZE}GiB --algorithm zstd /dev/zram0
sudo mkswap /dev/zram0 && sudo swapon -p 100 /dev/zram0
sudo sysctl vm.swappiness=200
- name: Setup $TEMP_PATH
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy
- requested
jobs:
cancel:
runs-on: [self-hosted, style-checker]
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
Expand Down
Loading

0 comments on commit e789a1c

Please sign in to comment.