Skip to content

Commit 486f4bf

Browse files
committed
Add release build CI stage
1 parent 718f496 commit 486f4bf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,21 @@ jobs:
6060
DATABASE_HOST: postgres
6161
DATABASE_PORT: '5432'
6262

63+
release-build-linux:
64+
name: Release build
65+
runs-on: ubuntu-latest
66+
container:
67+
image: registry.gitlab.com/finestructure/spi-base:1.1.0
68+
options: --privileged
69+
steps:
70+
- name: GH Runner bug workaround
71+
run: sysctl -w vm.mmap_rnd_bits=28
72+
- name: Checkout code
73+
uses: actions/checkout@v4
74+
with: { 'fetch-depth': 0 }
75+
- name: Build release
76+
run: swift build -c release --static-swift-stdlib -Xlinker -ljemalloc
77+
6378
# test-macos:
6479
# name: Test macOS
6580
# runs-on: macOS-latest

0 commit comments

Comments
 (0)