File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,15 @@ nix --version
55if [ -d " /workspace" ]; then
66 cd /workspace
77fi
8- nix build .# checks.$(nix-instantiate --eval -E builtins.currentSystem | tr -d '"').psql_15 -L --no-link
9- nix build .# checks.$(nix-instantiate --eval -E builtins.currentSystem | tr -d '"').psql_16 -L --no-link
10- nix build .# psql_15/bin -o psql_15
11- nix build .# psql_16/bin -o psql_16
12- nix copy --to s3://nix-postgres-artifacts? secret-key=nix-secret-key ./psql_15
13- nix copy --to s3://nix-postgres-artifacts? secret-key=nix-secret-key ./psql_16
8+ if [ $( nix-instantiate --eval -E builtins.currentSystem | tr -d ' "' ) == " x86_64-darwin" ]; then
9+ nix build .# checks.$(nix-instantiate --eval -E builtins.currentSystem | tr -d '"').psql_15 -L --no-link
10+ nix build .# psql_15/bin -o psql_15
11+ nix copy --to s3://nix-postgres-artifacts? secret-key=nix-secret-key ./psql_15
12+ else
13+ nix build .# checks.$(nix-instantiate --eval -E builtins.currentSystem | tr -d '"').psql_15 -L --no-link
14+ nix build .# checks.$(nix-instantiate --eval -E builtins.currentSystem | tr -d '"').psql_16 -L --no-link
15+ nix build .# psql_15/bin -o psql_15
16+ nix build .# psql_16/bin -o psql_16
17+ nix copy --to s3://nix-postgres-artifacts? secret-key=nix-secret-key ./psql_15
18+ nix copy --to s3://nix-postgres-artifacts? secret-key=nix-secret-key ./psql_16
19+ fi
You can’t perform that action at this time.
0 commit comments