From c3267d7dcd32a48dc81070fca7af7ea718d5dc80 Mon Sep 17 00:00:00 2001 From: Hiroki Noda Date: Sun, 5 May 2024 21:25:42 +0900 Subject: [PATCH 1/4] CI: restrict dmd to macOS latest --- .github/workflows/default.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 30e9f1cd..8797a030 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -57,6 +57,11 @@ jobs: dmd: gdc-12 host: macos-latest + # Restrict DMD to macOS + - compiler: + dmd: dmd + host: macos-latest + # Omit dub builds for GDC because dub rejects the old fronted revision - compiler: dmd: gdc-12 From a968b9b655eeadbfded40513bc2f47afb97df8e3 Mon Sep 17 00:00:00 2001 From: Hiroki Noda Date: Sun, 5 May 2024 21:26:50 +0900 Subject: [PATCH 2/4] CI: update actions/checkout to v4 --- .github/workflows/default.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 8797a030..8a4eab83 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -75,7 +75,7 @@ jobs: steps: # Clone repo + submodules - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: 'recursive' fetch-depth: 0 @@ -158,7 +158,7 @@ jobs: # Parse phobos to check for failures / crashes / ... - name: Checkout Phobos - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: dlang/phobos path: phobos From 58b810877639840a923c8d25502a2ba29ebafbc2 Mon Sep 17 00:00:00 2001 From: Hiroki Noda Date: Mon, 6 May 2024 17:21:46 +0900 Subject: [PATCH 3/4] CI: specify macos-13 for DMD --- .github/workflows/default.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 8a4eab83..e86c3b8b 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -57,7 +57,7 @@ jobs: dmd: gdc-12 host: macos-latest - # Restrict DMD to macOS + # Restrict DMD to macOS latest - compiler: dmd: dmd host: macos-latest @@ -70,6 +70,10 @@ jobs: include: - { do_report: 1, build: { type: dub, version: 'current' }, host: 'ubuntu-22.04', compiler: { version: dmd-latest, dmd: dmd } } + - compiler: + dmd: dmd + host: macos-13 + runs-on: ${{ matrix.host }} steps: From c73860505c7f5fd9cdc9b17f97fba9095a781ff2 Mon Sep 17 00:00:00 2001 From: Hiroki Noda Date: Mon, 6 May 2024 17:53:23 +0900 Subject: [PATCH 4/4] Fix: add build type for macos-13 runner with dmd --- .github/workflows/default.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index e86c3b8b..11a1f2ac 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -73,6 +73,9 @@ jobs: - compiler: dmd: dmd host: macos-13 + build: + type: 'dub' + version: 'current' runs-on: ${{ matrix.host }}