summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2023-05-02 12:35:34 +1200
committerOlly Betts <olly@survex.com>2023-05-02 12:38:52 +1200
commit7b387169a970f6e227404e95ecaf00abd2bd86c7 (patch)
treeeb8e9840e60b4b7adbb7118c02f25475dbe9057e
parent102353c80cf2333017d732e788c54ff2dda6b55c (diff)
downloadswig-7b387169a970f6e227404e95ecaf00abd2bd86c7.tar.gz
[ci] Try llvm D compiler (ldc)
-rw-r--r--.github/workflows/ci.yml11
-rw-r--r--Tools/CI-linux-install.sh3
2 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a676e4e10..ec812e562 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -55,8 +55,17 @@ jobs:
# 2.086.1 on 20.04: ditto
# 2.103.0 on 20.04: ditto
- SWIGLANG: d
- VER: '2.079.1'
+ VER: 'ldc'
os: ubuntu-20.04
+ - SWIGLANG: d
+ VER: 'ldc'
+ os: ubuntu-22.04
+ - SWIGLANG: d
+ VER: 'gdc'
+ os: ubuntu-20.04
+ - SWIGLANG: d
+ VER: 'gdc'
+ os: ubuntu-22.04
# Run all of them, as opposed to aborting when one fails
fail-fast: false
diff --git a/Tools/CI-linux-install.sh b/Tools/CI-linux-install.sh
index 1fe88d521..249f0ffc9 100644
--- a/Tools/CI-linux-install.sh
+++ b/Tools/CI-linux-install.sh
@@ -22,8 +22,7 @@ case "$SWIGLANG" in
$RETRY sudo apt-get -qq install mono-devel
;;
"d")
- $RETRY wget http://downloads.dlang.org/releases/2.x/${VER}/dmd_${VER}-0_amd64.deb
- $RETRY sudo dpkg -i dmd_${VER}-0_amd64.deb
+ $RETRY sudo apt-get -qq install "$VER"
;;
"go")
if [[ "$VER" ]]; then