Skip to content

Commit 3d2e5c8

Browse files
committed
Switch to release build - should fail now
1 parent 8340f24 commit 3d2e5c8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ jobs:
7777
# Since we're only pinging the version api endpoint, no database is needed and
7878
# we can just copy the development template to ensure the db env variables are set.
7979
cp .env.development.template .env.development
80-
# FIXME: change to `-c release` after testing!!!
81-
swift build -c debug --static-swift-stdlib -Xlinker -ljemalloc
82-
$(swift build --show-bin-path -c debug)/Run serve --port 8080 --hostname 0.0.0.0 &
80+
swift build -c release --static-swift-stdlib -Xlinker -ljemalloc
81+
$(swift build --show-bin-path -c release)/Run serve --port 8080 --hostname 0.0.0.0 &
8382
sleep 10
8483
echo Probing api/version...
8584
bash -c '[ "$(curl -sL -w "%{http_code}" -o /dev/null http://127.0.0.1:8080/api/version)" == "200" ] || (echo Connection failed ; exit 1)'

0 commit comments

Comments
 (0)