From e6d01a231e979548077cc255611fcc870872129b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 13 Dec 2025 13:21:33 -0800 Subject: [PATCH 1/3] chore: add windows and macos to CI --- .github/workflows/dmd.yml | 28 ++++++++++++++-------------- .github/workflows/ldc.yml | 28 ++++++++++++++-------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/dmd.yml b/.github/workflows/dmd.yml index 079cc5a..fe39464 100644 --- a/.github/workflows/dmd.yml +++ b/.github/workflows/dmd.yml @@ -2,9 +2,9 @@ name: dmd on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] permissions: contents: read @@ -12,21 +12,21 @@ permissions: jobs: build: strategy: - matrix: - os: [ ubuntu-latest ] - dc: [ dmd-latest ] + matrix: + os: [ubuntu-latest, windows-latest] + dc: [dmd-latest] runs-on: ${{ matrix.os }} steps: - - name: Checkout Source - uses: actions/checkout@v3 + - name: Checkout Source + uses: actions/checkout@v3 - - name: D Compiler Installation - uses: dlang-community/setup-dlang@v1.2.0 - with: - compiler: ${{ matrix.dc }} + - name: D Compiler Installation + uses: dlang-community/setup-dlang@v1.2.0 + with: + compiler: ${{ matrix.dc }} - - name: Build and Test - run: | - dub -q test + - name: Build and Test + run: | + dub -q test diff --git a/.github/workflows/ldc.yml b/.github/workflows/ldc.yml index 5a13c9b..12f2858 100644 --- a/.github/workflows/ldc.yml +++ b/.github/workflows/ldc.yml @@ -2,9 +2,9 @@ name: ldc on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] permissions: contents: read @@ -12,21 +12,21 @@ permissions: jobs: build: strategy: - matrix: - os: [ ubuntu-latest ] - dc: [ ldc-latest ] + matrix: + os: [ubuntu-latest, macos-latest] + dc: [ldc-latest] runs-on: ${{ matrix.os }} steps: - - name: Checkout Source - uses: actions/checkout@v3 + - name: Checkout Source + uses: actions/checkout@v3 - - name: D Compiler Installation - uses: dlang-community/setup-dlang@v1.2.0 - with: - compiler: ${{ matrix.dc }} + - name: D Compiler Installation + uses: dlang-community/setup-dlang@v1.2.0 + with: + compiler: ${{ matrix.dc }} - - name: Build and Test - run: | - dub -q test + - name: Build and Test + run: | + dub -q test From 52e40afb505f4755052584dd2347338830589e0f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 13 Dec 2025 13:24:10 -0800 Subject: [PATCH 2/3] chore: update setup-dlang to v2.0.0 --- .github/workflows/dmd.yml | 2 +- .github/workflows/ldc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dmd.yml b/.github/workflows/dmd.yml index fe39464..b6435d4 100644 --- a/.github/workflows/dmd.yml +++ b/.github/workflows/dmd.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v3 - name: D Compiler Installation - uses: dlang-community/setup-dlang@v1.2.0 + uses: dlang-community/setup-dlang@v2 with: compiler: ${{ matrix.dc }} diff --git a/.github/workflows/ldc.yml b/.github/workflows/ldc.yml index 12f2858..dd71d70 100644 --- a/.github/workflows/ldc.yml +++ b/.github/workflows/ldc.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v3 - name: D Compiler Installation - uses: dlang-community/setup-dlang@v1.2.0 + uses: dlang-community/setup-dlang@v2 with: compiler: ${{ matrix.dc }} From 3da8eb2afbd0d9e13745f08b6f714b015880f5ba Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 13 Dec 2025 13:39:48 -0800 Subject: [PATCH 3/3] chore: update to use checkout v6 --- .github/workflows/dmd.yml | 2 +- .github/workflows/ldc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dmd.yml b/.github/workflows/dmd.yml index b6435d4..08c511d 100644 --- a/.github/workflows/dmd.yml +++ b/.github/workflows/dmd.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: D Compiler Installation uses: dlang-community/setup-dlang@v2 diff --git a/.github/workflows/ldc.yml b/.github/workflows/ldc.yml index dd71d70..ffecd39 100644 --- a/.github/workflows/ldc.yml +++ b/.github/workflows/ldc.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: D Compiler Installation uses: dlang-community/setup-dlang@v2