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 588754c commit dbbd0be
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 51 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,67 +30,67 @@ jobs:
matrix:
arch: [x86_64]
data:
# - os:
# host: ubuntu-latest
# target_triple: x86_64-alpine-linux-musl
# docker: true
- os:
host: ubuntu-latest
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: 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:
- ldc-latest

llvm:
- '15.0.7'

# include:
# - compiler: dmd-beta
# llvm: '15.0.7'
# arch: x86_64
# data:
# os:
# host: macOS-latest
# target_triple: x86_64-apple-macos10.9
#
# - compiler: ldc-beta
# llvm: '15.0.7'
# arch: x86_64
# data:
# os:
# host: ubuntu-latest
# target_triple: x86_64-alpine-linux-musl
# docker: true
#
# - compiler: dmd-master
# llvm: '15.0.7'
# arch: x86_64
# nightly: nightly
# data:
# os:
# host: macOS-latest
# target_triple: x86_64-apple-macos10.9
#
# - compiler: ldc-master
# llvm: '15.0.7'
# arch: x86_64
# nightly: nightly
# data:
# os:
# host: macOS-latest
# target_triple: x86_64-apple-macos10.9
include:
- compiler: dmd-beta
llvm: '15.0.7'
arch: x86_64
data:
os:
host: macOS-latest
target_triple: x86_64-apple-macos10.9

- compiler: ldc-beta
llvm: '15.0.7'
arch: x86_64
data:
os:
host: ubuntu-latest
target_triple: x86_64-alpine-linux-musl
docker: true

- compiler: dmd-master
llvm: '15.0.7'
arch: x86_64
nightly: nightly
data:
os:
host: macOS-latest
target_triple: x86_64-apple-macos10.9

- compiler: ldc-master
llvm: '15.0.7'
arch: x86_64
nightly: nightly
data:
os:
host: macOS-latest
target_triple: x86_64-apple-macos10.9

steps:
- name: Clone Repository
Expand Down
8 changes: 6 additions & 2 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

set -exo pipefail

download() {
curl --retry 3 -fsS "$1"
}

d_compiler() {
echo "$DSTEP_COMPILER" | \
sed 's/-latest//' | \
Expand All @@ -10,8 +14,8 @@ d_compiler() {
}

install_d_compiler() {
curl https://dlang.org/d-security.asc | gpg --import /dev/stdin
source $(curl --retry 3 -fsS https://dlang.org/install.sh | bash -s "$(d_compiler)" -a)
download https://dlang.org/d-keyring.gpg | gpg --import /dev/stdin
source $(download https://dlang.org/install.sh | bash -s "$(d_compiler)" -a)
}

run() {
Expand Down

0 comments on commit dbbd0be

Please sign in to comment.