|
9 | 9 | SYSTEM=$(nix-instantiate --eval -E builtins.currentSystem | tr -d '"')
|
10 | 10 |
|
11 | 11 | nix build .#checks.$SYSTEM.psql_15 -L --no-link
|
12 |
| -nix build .#checks.$SYSTEM.psql_16 -L --no-link |
13 | 12 | nix build .#checks.$SYSTEM.psql_orioledb-17 -L --no-link
|
14 | 13 | nix build .#psql_15/bin -o psql_15
|
15 |
| -nix build .#psql_16/bin -o psql_16 |
16 | 14 |
|
17 | 15 | nix build .#psql_orioledb-17/bin -o psql_orioledb_17
|
18 | 16 |
|
19 | 17 | # Copy to S3
|
20 | 18 | nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_15
|
21 |
| -nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_16 |
22 |
| -if [ "$SYSTEM" != "x86_64-darwin" ]; then |
23 |
| - nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_orioledb_17 |
24 |
| -fi |
| 19 | +nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./psql_orioledb_17 |
25 | 20 | if [ "$SYSTEM" = "aarch64-linux" ]; then
|
26 | 21 | nix build .#postgresql_15_debug -o ./postgresql_15_debug
|
27 | 22 | nix build .#postgresql_15_src -o ./postgresql_15_src
|
28 |
| - nix build .#postgresql_16_debug -o ./postgresql_16_debug |
29 |
| - nix build .#postgresql_16_src -o ./postgresql_16_src |
30 | 23 | nix build .#postgresql_orioledb-17_debug -o ./postgresql_orioledb-17_debug
|
31 | 24 | nix build .#postgresql_orioledb-17_src -o ./postgresql_orioledb-17_src
|
32 | 25 | nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_debug-debug
|
33 | 26 | nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_15_src
|
34 |
| - nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_16_debug-debug |
35 |
| - nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_16_src |
36 | 27 | nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_debug-debug
|
37 | 28 | nix copy --to s3://nix-postgres-artifacts?secret-key=nix-secret-key ./postgresql_orioledb-17_src
|
38 | 29 | fi
|
0 commit comments