File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -271,30 +271,23 @@ jobs:
271
271
usesh : true
272
272
# Need more RAM than the default 1G
273
273
mem : 4096
274
- prepare : pkg install -y bash curl curlpp git gmake pkgconf gnupg rsync llvm
274
+ prepare : pkg install -y bash curl curlpp git gmake pkgconf gnupg rsync ldc
275
275
run : |
276
276
set -eux
277
277
278
278
# Import key used to sign binaries
279
279
curl https://dlang.org/d-keyring.gpg -o d-keyring.gpg
280
280
gpg d-keyring.gpg
281
281
282
- # Install ldc
283
- curl https://dlang.org/install.sh -o install.sh
284
- bash install.sh ldc -p .
285
-
286
- # Use absolute paths because activate doesn't work correctly
287
- LDC_BIN=$PWD/ldc-*/bin
288
-
289
282
# Determine installed LDC version
290
- LDC=$($LDC_BIN/ ldc2 --version | head -n 1 | cut -d'(' -f2 | cut -d')' -f1)
283
+ LDC=$(ldc2 --version | head -n 1 | cut -d'(' -f2 | cut -d')' -f1)
291
284
292
285
# Determine additional linker flags to make -lcurl work
293
286
EXTRA_FLAGS="-L$(pkg-config --libs-only-L libcurl)"
294
287
295
288
# Actually build the release
296
289
cd create_dmd_release
297
- $LDC_BIN/ ldmd2 -g -m64 --link-defaultlib-debug -version=NoVagrant -i build_all.d $EXTRA_FLAGS
290
+ ldmd2 -g -m64 --link-defaultlib-debug -version=NoVagrant -i build_all.d $EXTRA_FLAGS
298
291
./build_all --targets=${{ matrix.target }} "v$LDC" ${{ inputs.release_branch }}
299
292
300
293
# ################################################################
You can’t perform that action at this time.
0 commit comments