From 2f7e13579c29db94f055610572ba87f533530292 Mon Sep 17 00:00:00 2001 From: Vladiwostok <55026261+Vladiwostok@users.noreply.github.com> Date: Tue, 7 May 2024 19:22:28 +0300 Subject: [PATCH] Fix github actions for macos (#135) * Fix github actions for macos * Enable macos debugging session --- .editorconfig | 2 +- .github/workflows/default.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.editorconfig b/.editorconfig index 96fa7b7..23b565f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -22,4 +22,4 @@ dfmt_template_constraint_style = conditional_newline_indent [*.yml] indent_style = space -indent_size = 2 +indent_size = 2 \ No newline at end of file diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 40d057c..6cc7b31 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -107,10 +107,10 @@ 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 if: ${{ matrix.build.type == 'make' }} @@ -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: |