Skip to content

Fix mixed architecture builds #10

Fix mixed architecture builds

Fix mixed architecture builds #10

Workflow file for this run

name: CI
# Only triggers on pushes/PRs to master
on:
pull_request:
branches:
- master
push:
branches:
- master
- github_actions
jobs:
test-posix:
name: Unittests Posix
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-13]
dc: [dmd-latest, ldc-latest]
arch: [x86_64]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ${{ matrix.dc }}
- name: Run tests
env:
ARCH: ${{matrix.arch}}
run: ./test.sh
shell: bash
test-windows:
name: Unittests Windows
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [windows-latest]
dc: [dmd-latest, ldc-latest]
arch: [x86_64]
include:
- { os: windows-latest, dc: dmd-2.092.0, arch: x86_64, tests: unittests }
- { os: windows-latest, dc: dmd-2.092.0, arch: x86_mscoff, tests: unittests }
- { os: windows-latest, dc: dmd-2.091.1, arch: x86_64, tests: unittests }
- { os: windows-latest, dc: ldc-1.20.1, arch: x86_64, tests: unittests }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- name: Install D compiler
uses: dlang-community/setup-dlang@v2
with:
compiler: ${{ matrix.dc }}
- name: Run tests
env:
ARCH: ${{matrix.arch}}
run: ./test.sh
shell: bash