From 7e3d056a21bd4d577d4309c8c74c9f2e7d4af0b3 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sat, 17 Apr 2021 20:05:02 +0200 Subject: [PATCH 1/3] add tmate debug step in CI build for GS3.4.5 --- .github/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d66b669f..5e63af4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,12 +20,9 @@ jobs: - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalk-image: ${{ matrix.smalltalk }} - # - name: Fix missing OS prerequisites for GemStone builds - # run: | - # git clone https://github.com/GsDevKit/GsDevKit_home.git - # ./GsDevKit_home/bin/utils/installOsPrereqs - # continue-on-error: true - # if: startsWith(matrix.smalltalk,'GemStone') + - name: Setup tmate session + uses: mxschmitt/action-tmate@v3 + if: matrix.smalltalk == 'GemStone64-3.4.5' - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} shell: bash From b64a254573197d44bbb17eff26431403ab45443e Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 18 Apr 2021 11:14:17 +0200 Subject: [PATCH 2/3] added a sleep step as suggested in https://github.com/mxschmitt/action-tmate/issues/1#issuecomment-601459524 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e63af4d..3793315d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalk-image: ${{ matrix.smalltalk }} + - name: Sleep... + run: sleep 20 - name: Setup tmate session uses: mxschmitt/action-tmate@v3 if: matrix.smalltalk == 'GemStone64-3.4.5' From c575154a1f54f8c8581805746cb46d91f483ed36 Mon Sep 17 00:00:00 2001 From: Johan Brichau Date: Sun, 18 Apr 2021 14:37:49 +0200 Subject: [PATCH 3/3] apply workaround to run builds for Gemstone --- .github/workflows/ci.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3793315d..bf53b8f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,14 @@ jobs: - uses: hpi-swa/setup-smalltalkCI@v1 with: smalltalk-image: ${{ matrix.smalltalk }} - - name: Sleep... - run: sleep 20 - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - if: matrix.smalltalk == 'GemStone64-3.4.5' + - name: Ensure lookups for current hostname are handled + run: | + echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts + # - name: Sleep... + # run: sleep 20 + # - name: Setup tmate session + # uses: mxschmitt/action-tmate@v3 + # if: matrix.smalltalk == 'GemStone64-3.4.5' - name: Run tests run: smalltalkci -s ${{ matrix.smalltalk }} shell: bash