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 Vladiwostok
parent 511bdce4b3
commit cba48fc323
2 changed files with 7 additions and 7 deletions

View File

@ -22,4 +22,4 @@ dfmt_template_constraint_style = conditional_newline_indent
[*.yml] [*.yml]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2

View File

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