Skip to content

Commit 0dd68ec

Browse files
authored
chore: add building and cache for debug and src (supabase#1361)
1 parent 0bed8fb commit 0dd68ec

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docker/nix/build_nix.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,17 @@ nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_16
2525
if [ "$SYSTEM" != "x86_64-darwin" ]; then
2626
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_orioledb_17
2727
fi
28+
if [ "$SYSTEM" = "aarch64-linux" ]; then
29+
nix build .#postgresql_15_debug -o ./postgresql_15_debug
30+
nix build .#postgresql_15_src -o ./postgresql_15_src
31+
nix build .#postgresql_16_debug -o ./postgresql_16_debug
32+
nix build .#postgresql_16_src -o ./postgresql_16_src
33+
nix build .#postgresql_orioledb-17_debug -o ./postgresql_orioledb-17_debug
34+
nix build .#postgresql_orioledb-17_src -o ./postgresql_orioledb-17_src
35+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_debug-debug
36+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_src
37+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_16_debug-debug
38+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_16_src
39+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_debug-debug
40+
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_src
41+
fi

0 commit comments

Comments
 (0)