File tree Expand file tree Collapse file tree 2 files changed +48
-3
lines changed Expand file tree Collapse file tree 2 files changed +48
-3
lines changed Original file line number Diff line number Diff line change 56
56
- id : x86_64
57
57
name : X64
58
58
59
+ runs-on : ubuntu-24.04
60
+ name : " ${{ matrix.os.display }} (${{ matrix.arch.id }})"
61
+ steps :
62
+ - name : Setup AWS CLI
63
+ uses : aws-actions/configure-aws-credentials@v1
64
+ with :
65
+ aws-secret-access-key : ${{ secrets.AWS_S3_ACCESS_SECRET }}
66
+ aws-access-key-id : ${{ vars.AWS_S3_ACCESS_KEY }}
67
+ aws-region : us-east-1
68
+
69
+ - name : Checkout repository
70
+ uses : actions/checkout@v3
71
+
72
+ - name : Build Unidoc
73
+ run : |
74
+ Scripts/Linux/Build ${{ matrix.arch.id }} \
75
+ --os ${{ matrix.os.codename }} \
76
+ --no-jemalloc
77
+ Scripts/Package .build.${{ matrix.arch.id }} \
78
+ unidoc
79
+
80
+ - name : Upload products
81
+ env :
82
+ UNIDOC_PLATFORM : " ${{ matrix.os.version }}-${{ matrix.arch.name }}"
83
+ UNIDOC_VERSION : ${{ github.head_ref || github.ref_name }}
84
+
85
+ run : Scripts/Deploy unidoc.tar.gz
86
+
87
+ linux_server :
88
+ strategy :
89
+ matrix :
90
+ os :
91
+ - codename : noble
92
+ version : Ubuntu-24.04
93
+ display : Ubuntu 24.04
94
+ arch :
95
+ - id : aarch64
96
+ name : ARM64
97
+
59
98
runs-on : ubuntu-24.04
60
99
name : " ${{ matrix.os.display }} (${{ matrix.arch.id }})"
61
100
steps :
@@ -74,12 +113,11 @@ jobs:
74
113
Scripts/Linux/Build ${{ matrix.arch.id }} \
75
114
--os ${{ matrix.os.codename }}
76
115
Scripts/Package .build.${{ matrix.arch.id }} \
77
- unidoc \
78
116
unidoc-linkerd
79
117
80
118
- name : Upload products
81
119
env :
82
120
UNIDOC_PLATFORM : " ${{ matrix.os.version }}-${{ matrix.arch.name }}"
83
121
UNIDOC_VERSION : ${{ github.head_ref || github.ref_name }}
84
122
85
- run : Scripts/Deploy unidoc.tar.gz unidoc -linkerd.tar.gz
123
+ run : Scripts/Deploy unidoc-linkerd.tar.gz
Original file line number Diff line number Diff line change @@ -6,8 +6,15 @@ DEST_ARCH=aarch64
6
6
DEST_OS=noble
7
7
LIBC=gnu
8
8
9
+ LINKER_FLAGS=" -Xlinker -ljemalloc"
10
+
9
11
while [[ $# -gt 0 ]]; do
10
12
case $1 in
13
+ --no-jemalloc )
14
+ shift
15
+ LINKER_FLAGS=" "
16
+ ;;
17
+
11
18
--os )
12
19
shift
13
20
@@ -50,4 +57,4 @@ docker run --rm \
50
57
--cache-path /swiftpm \
51
58
--destination Scripts/Linux/$HOST_ARCH /$DEST_ARCH -$DEST_OS .json \
52
59
--static-swift-stdlib \
53
- -Xlinker -ljemalloc
60
+ $LINKER_FLAGS
You can’t perform that action at this time.
0 commit comments