Merge pull request #241 from vibe-d/fixes #216
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Suite | |
# Only triggers on pushes/PRs to master | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: CI | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-13] | |
dc: [dmd-latest, ldc-latest, dmd-2.086.0, ldc-1.16.0, ldc-1.17.0] | |
arch: [x86_64] | |
config: [select, epoll, cfrunloop, winapi] | |
exclude: | |
- {os: ubuntu-latest, config: cfrunloop} | |
- {os: ubuntu-latest, config: winapi} | |
- {os: macos-13, config: epoll} | |
- {os: macos-13, config: winapi} | |
- {os: windows-latest, config: cfrunloop} | |
- {os: windows-latest, config: epoll} | |
# macOS fails up to FE 2.086.x, so we test on a slightly newer | |
# version instead | |
# "dyld: lazy symbol binding failed: Symbol not found: _dyld_enumerate_tlv_storage" | |
- {os: macos-13, dc: dmd-2.086.0} | |
- {os: macos-13, dc: ldc-1.16.0} | |
- {os: windows-latest, dc: ldc-1.16.0, config: select} | |
- {os: windows-latest, dc: ldc-1.17.0} | |
- {os: ubuntu-latest, dc: ldc-1.17.0} | |
include: | |
- {os: windows-latest, dc: ldc-latest, arch: x86, config: winapi} | |
- {os: windows-latest, dc: dmd-latest, arch: x86_mscoff, config: winapi} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install D compiler | |
uses: dlang-community/setup-dlang@v2 | |
with: | |
compiler: ${{ matrix.dc }} | |
- name: Run tests | |
env: | |
CONFIG: ${{matrix.config}} | |
ARCH: ${{matrix.arch}} | |
shell: bash | |
run: ./run-ci.sh |