Skip to content

Commit ba1c34f

Browse files
committed
change macos-13 job to use 2.102.2 and use default arch in builds
1 parent ff77b55 commit ba1c34f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/dub.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
## macos-13 is the latest Mac runner with Intel cpu
4747
- { os: macos-13, compiler: dmd-latest }
4848
- { os: macos-13, compiler: ldc-latest }
49-
- { os: macos-13, compiler: dmd-2.101.2 }
49+
- { os: macos-13, compiler: dmd-2.102.2 }
5050
- { os: macos-13, compiler: ldc-1.32.2 }
5151
exclude:
5252
- { os: windows-latest, compiler: dmd-2.098.1 }
@@ -73,8 +73,8 @@ jobs:
7373
# uses: WebFreak001/[email protected]
7474

7575
# full build
76-
- name: dub build (FULL)
77-
run: dub build --config=full --arch=x86_64
76+
- name: dub build (FULL) ${{ runner.arch }}
77+
run: dub build --config=full
7878

7979
# x86 (Windows Only)
8080
- name: dub test with full config (x86)
@@ -90,16 +90,16 @@ jobs:
9090
working-directory: example
9191
run: dub build --config=SQLite --arch=x86 && ./ddbctest --connection=sqlite:ddbc-test.sqlite
9292

93-
# x86_64 (all platforms)
94-
- name: dub test with full config (x86_64)
95-
run: dub test --config=full --arch=x86_64
93+
# Use the default arch (either x86_64 or arm64 all platforms)
94+
- name: dub test with full config (${{ runner.arch }})
95+
run: dub test --config=full
9696

9797
#- name: dub run with test config (x86_64)
9898
# run: dub run --config=test --arch=x86_64
9999

100-
- name: run the ddbctest project (x86_64)
100+
- name: run the ddbctest project (${{ runner.arch }})
101101
working-directory: example
102-
run: dub build --config=SQLite --arch=x86_64 && ./ddbctest --connection=sqlite:ddbc-test.sqlite
102+
run: dub build --config=SQLite && ./ddbctest --connection=sqlite:ddbc-test.sqlite
103103

104104
# x86_mscoff (Windows with dmd Only)
105105
- name: dub test with full config (x86_mscoff)

0 commit comments

Comments
 (0)