Skip to content

Commit 3da5237

Browse files
committed
Add --enable-experimental-prebuilts flag
1 parent eebc7fc commit 3da5237

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
# Since we're only pinging the version api endpoint, no database is needed and
151151
# we can just copy the development template to ensure the db env variables are set.
152152
cp .env.development.template .env.development
153-
swift build -c release --static-swift-stdlib -Xlinker -ljemalloc
153+
swift build -c release --static-swift-stdlib -Xlinker -ljemalloc --enable-experimental-prebuilts
154154
$(swift build --show-bin-path -c release)/Run serve --port 8080 --hostname 0.0.0.0 &
155155
sleep 10
156156
echo Probing api/version...

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ COPY . .
3737
# Build everything, with optimizations, with static linking, and using jemalloc
3838
# N.B.: The static version of jemalloc is incompatible with the static Swift runtime.
3939
RUN swift build -c release \
40+
--enable-experimental-prebuilts \
4041
--static-swift-stdlib \
4142
-Xlinker -ljemalloc
4243

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,23 @@ else
2828
endif
2929

3030
build:
31-
swift build --disable-automatic-resolution
31+
swift build --disable-automatic-resolution --enable-experimental-prebuilts
32+
3233

3334
run:
3435
swift run
3536

3637
test: xcbeautify
3738
set -o pipefail \
3839
&& swift test --disable-automatic-resolution \
40+
--enable-experimental-prebuilts \
3941
2>&1 | ./xcbeautify --renderer github-actions
4042

4143
test-query-performance: xcbeautify
4244
set -o pipefail \
4345
&& env RUN_QUERY_PERFORMANCE_TESTS=true \
4446
swift test --disable-automatic-resolution \
47+
--enable-experimental-prebuilts \
4548
--filter QueryPerformanceTests \
4649
2>&1 | tee test.log
4750
grep "ℹ️" test.log

0 commit comments

Comments
 (0)