Skip to content

Commit

Permalink
chore: add building and cache for debug and src (#1361)
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose authored Dec 6, 2024
1 parent dac11e1 commit 7ffa2a9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docker/nix/build_nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,17 @@ nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_16
if [ "$SYSTEM" != "x86_64-darwin" ]; then
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_orioledb_17
fi
if [ "$SYSTEM" = "aarch64-linux" ]; then
nix build .#postgresql_15_debug -o ./postgresql_15_debug
nix build .#postgresql_15_src -o ./postgresql_15_src
nix build .#postgresql_16_debug -o ./postgresql_16_debug
nix build .#postgresql_16_src -o ./postgresql_16_src
nix build .#postgresql_orioledb-17_debug -o ./postgresql_orioledb-17_debug
nix build .#postgresql_orioledb-17_src -o ./postgresql_orioledb-17_src
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_debug-debug
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_src
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_16_debug-debug
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_16_src
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_debug-debug
nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_src
fi

0 comments on commit 7ffa2a9

Please sign in to comment.