Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/golang_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,17 @@ jobs:
with:
fetch-depth: 1
- name: Enable zram
if: ${{ steps.build-info.outputs.skip-building != 'true' }}
uses: ./.github/actions/zram
with:
algorithm: zstd
size: 16G
priority: 100
device_name: /dev/zram0
- name: Prepare environment
- name: Load Docker image
run: |
./scripts/run-docker.sh true
- name: Free additional disk space
run: |
./scripts/setup-ubuntu.sh
./scripts/setup-android-sdk.sh
sudo apt install ninja-build
./scripts/free-space.sh
- name: Golang validation
run: ./scripts/bin/validation ${{ matrix.target_arch }} golang ${{ matrix.batch }} || exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
device_name: /dev/zram0
- name: Load Docker image
run: |
./scripts/run-docker.sh echo ""
./scripts/run-docker.sh true
- name: Free additional disk space
run: ./scripts/free-space.sh
- name: Install needed dependencies for package updates
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jobs:
- name: Load Docker image
if: ${{ steps.build-info.outputs.free-space == 'true' && steps.build-info.outputs.skip-building != 'true' }}
run: |
./scripts/run-docker.sh echo ""
./scripts/run-docker.sh true
- name: Free additional disk space (if needed)
if: ${{ steps.build-info.outputs.free-space == 'true' && steps.build-info.outputs.skip-building != 'true' }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/zig_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ jobs:
with:
fetch-depth: 1
- name: Enable zram
if: ${{ steps.build-info.outputs.skip-building != 'true' }}
uses: ./.github/actions/zram
with:
algorithm: zstd
size: 16G
priority: 100
device_name: /dev/zram0
- name: Prepare environment
- name: Load Docker image
run: |
./scripts/run-docker.sh true
- name: Free additional disk space
run: |
./scripts/setup-ubuntu.sh
./scripts/setup-android-sdk.sh
./scripts/free-space.sh
- name: Zig validation
run: ./scripts/bin/validation ${{ matrix.target_arch }} zig ${{ matrix.batch }} || exit 1
Expand Down
4 changes: 2 additions & 2 deletions scripts/bin/validation
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ maybe_cleanup() {
return
fi

./clean.sh
./scripts/run-docker.sh ./clean.sh
rm -rf ./output/*
}

Expand All @@ -215,7 +215,7 @@ for package in "${PACKAGES[@]}"; do
# Header
echo "INFO: Building ${package} for ${ARCH}"
maybe_cleanup "${package}"
./build-package.sh -I -f -a "${ARCH}" "${package}"
./scripts/run-docker.sh ./build-package.sh -I -f -a "${ARCH}" "${package}"
status="${PIPESTATUS[0]}"
echo # newline
echo "INFO: Building ${package} for ${ARCH} took $(ms_to_human_readable $(( $(date +%10s%3N) - start )))"
Expand Down
Loading