Skip to content

Commit

Permalink
fixup! Try
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-carlborg committed Jul 2, 2023
1 parent e54c485 commit 68f57be
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 26 deletions.
46 changes: 22 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,22 @@ jobs:
target_triple: x86_64-alpine-linux-musl
docker: true

# - os:
# host: macOS-latest
# target_triple: x86_64-apple-macos10.9
#
# - os:
# host: windows-latest
# target_triple: x86_64-pc-windows-msvc
#
# - os:
# target: freebsd
# version: '13.1'
# target_triple: x86_64-unknown-freebsd13.1
# host: macOS-latest
# cross_platform_actions: true
- os:
host: macOS-latest
target_triple: x86_64-apple-macos10.9

- os:
host: windows-latest
target_triple: x86_64-pc-windows-msvc

- os:
target: freebsd
version: '13.1'
target_triple: x86_64-unknown-freebsd13.1
host: macOS-latest
cross_platform_actions: true

compiler:
- dmd-latest
- ldc-latest

llvm:
Expand All @@ -61,11 +60,10 @@ jobs:
- compiler: dmd-beta
llvm: '15.0.7'
arch: x86_64
docker: true
data:
os:
host: ubuntu-latest
target_triple: x86_64-alpine-linux-musl
host: macOS-latest
target_triple: x86_64-apple-macos10.9

- compiler: ldc-beta
llvm: '15.0.7'
Expand All @@ -80,11 +78,10 @@ jobs:
llvm: '15.0.7'
arch: x86_64
nightly: nightly
docker: true
data:
os:
host: ubuntu-latest
target_triple: x86_64-alpine-linux-musl
host: macOS-latest
target_triple: x86_64-apple-macos10.9

- compiler: ldc-master
llvm: '15.0.7'
Expand All @@ -93,8 +90,8 @@ jobs:
docker: true
data:
os:
host: ubuntu-latest
target_triple: x86_64-alpine-linux-musl
host: macOS-latest
target_triple: x86_64-apple-macos10.9

steps:
- name: Clone Repository
Expand Down Expand Up @@ -160,4 +157,5 @@ jobs:
-e DSTEP_LLVM_VERSION=${{ env.DSTEP_LLVM_VERSION }} \
--platform linux/${{ matrix.docker_arch || matrix.arch }} \
alpine:edge \
apk add --no-cache git curl bash && ./ci.sh
apk add --no-cache git curl bash && \
./ci.sh
1 change: 0 additions & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ d_compiler() {
run() {
source $(curl --retry 3 -fsS https://dlang.org/install.sh | bash -s "$(d_compiler)" -a)
./configure --llvm-path "llvm-$DSTEP_LLVM_VERSION" --statically-link-clang
cat linker_flags.txt
dub test --verror
}

Expand Down
2 changes: 1 addition & 1 deletion test.d
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void executeCommand(const string[] args ...)

string[] dubShellCommand(string[] subCommands ...)
{
return (["dub", "--verror", "-v"] ~ subCommands ~ dubArch)
return (["dub", "--verror"] ~ subCommands ~ dubArch)
.filter!(e => e.length > 0)
.array;
}
Expand Down

0 comments on commit 68f57be

Please sign in to comment.