Fix github actions for macos (#135)

* Fix github actions for macos

* Enable macos debugging session
This commit is contained in:
Vladiwostok 2024-05-07 19:22:28 +03:00 committed by Albert24GG
parent af525da448
commit 2f7e13579c
2 changed files with 7 additions and 7 deletions

View File

@ -107,9 +107,9 @@ jobs:
sudo apt-get install gdc-12 -y
gdc-12 --version
# - name: Setup upterm session
# if: ${{ matrix.build.type == 'make' && matrix.host == 'macos-latest'}}
# uses: lhotari/action-upterm@v1
- name: Setup upterm session
if: ${{ matrix.build.type == 'dub' && matrix.host == 'macos-latest'}}
uses: lhotari/action-upterm@v1
# Compile D-Scanner and execute all tests without dub
- name: Build and test without dub
@ -177,7 +177,7 @@ jobs:
- name: Run style checks
if: ${{ matrix.compiler.dmd == 'dmd' && matrix.build.type == 'make' }}
run: |
make style
make style
# Parse phobos to check for failures / crashes / ...
- name: Checkout Phobos
@ -187,7 +187,7 @@ jobs:
path: phobos
- name: Apply D-Scanner to Phobos
if: ${{ matrix.build.version != 'min libdparse'}} # Older versions crash with "Invalid UTF..."
if: ${{ matrix.build.version != 'min libdparse'}} # Older versions crash with "Invalid UTF..."
working-directory: phobos
shell: bash
run: |