Skip to content

Commit

Permalink
tmate after build
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Jul 12, 2022
1 parent 05e33cc commit 9c20dd1
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/windows-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,23 @@ jobs:
- name: Checkout the latest code (shallow clone)
uses: actions/checkout@v2

- name: Debug over SSH (tmate)
uses: mxschmitt/action-tmate@v3.5
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
with:
limit-access-to-actor: true

- name: configure
# Use cmd to remove the path easily
run: |
bcdedit /set IncreaseUserVa 3072
editbin /LARGEADDRESSAWARE "C:\Program Files\Git\mingw64\bin\cc1plus.exe"
path %PATH:C:\Program Files\Git\bin;=%
path %PATH:C:\Program Files\Git\usr\bin;=%
path %PATH:C:\Strawberry\c\bin;=%
path %PATH:C:\Strawberry\perl\bin;=%
path %PATH:C:\Strawberry\perl\site\bin;=%
set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
mkdir build
cd build
cmake -G "MinGW Makefiles" -DBUILD_SHARED_LIBS=${{ matrix.config.shared }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_COMPILER_FLAGS=${{ matrix.config.cflags }} ..
cmake --build . -j4
ctest . --output-on-failure
shell: cmd

- name: Debug over SSH (tmate)
uses: mxschmitt/action-tmate@v3.5
with:
limit-access-to-actor: true

- name: install
run: |
set PATH=%PATH:C:\Program Files\Git\bin;=%
Expand Down

0 comments on commit 9c20dd1

Please sign in to comment.