Skip to content

Commit

Permalink
workflows: Configure pagefile on C: explicitly
Browse files Browse the repository at this point in the history
Looks like adding a pagefile on D: does not work anymore
  • Loading branch information
elprans committed Jan 9, 2024
1 parent ffc544c commit 8152b26
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows.src/build.inc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "<< tgt.arch >>" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing << tgt.name >>'
val=false
fi
Expand Down Expand Up @@ -200,6 +200,7 @@
uses: elprans/configure-pagefile-action@v2
with:
minimum-size: 8GB
disk-root: "C:"

- name: Build
env:
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing debian-buster-x86_64'
val=false
fi
Expand All @@ -103,7 +103,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing debian-buster-aarch64'
val=false
fi
Expand All @@ -117,7 +117,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing debian-bullseye-x86_64'
val=false
fi
Expand All @@ -131,7 +131,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing debian-bullseye-aarch64'
val=false
fi
Expand All @@ -145,7 +145,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing debian-bookworm-x86_64'
val=false
fi
Expand All @@ -159,7 +159,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing debian-bookworm-aarch64'
val=false
fi
Expand All @@ -173,7 +173,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing ubuntu-bionic-x86_64'
val=false
fi
Expand All @@ -187,7 +187,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing ubuntu-bionic-aarch64'
val=false
fi
Expand All @@ -201,7 +201,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing ubuntu-focal-x86_64'
val=false
fi
Expand All @@ -215,7 +215,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing ubuntu-focal-aarch64'
val=false
fi
Expand All @@ -229,7 +229,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "x86_64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing ubuntu-jammy-x86_64'
val=false
fi
Expand All @@ -243,7 +243,7 @@ jobs:
curl -s https://packages.edgedb.com/apt/.jsonindexes/$idx_file > /tmp/$idx_file
fi
out=$(cat /tmp/$idx_file | jq -r --arg REV "$rev" --arg ARCH "aarch64" "$jq_filter")
if [ -n "$out" ]; then
if [ -n "$out" ]; then
echo 'Skip rebuilding existing ubuntu-jammy-aarch64'
val=false
fi
Expand Down Expand Up @@ -1143,6 +1143,7 @@ jobs:
uses: elprans/configure-pagefile-action@v2
with:
minimum-size: 8GB
disk-root: "C:"

- name: Build
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ jobs:
uses: elprans/configure-pagefile-action@v2
with:
minimum-size: 8GB
disk-root: "C:"

- name: Build
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ jobs:
uses: elprans/configure-pagefile-action@v2
with:
minimum-size: 8GB
disk-root: "C:"

- name: Build
env:
Expand Down

0 comments on commit 8152b26

Please sign in to comment.