Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Sep 4, 2024
1 parent 7fea46e commit fa51e58
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/safe_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ runs:

- name: configure
id: configure
shell: bash
env:
CXX: ${{ inputs.compiler }}
run: ./configure
Expand All @@ -25,10 +26,12 @@ runs:
the-step: configure
outcome: ${{ steps.configure.outcome }}
- name: config.log
shell: bash
if: ${{ env.action_status == 'install' }}
run: cat config.log
- name: make
id: make
shell: bash
if: ${{ env.action_status == '' }}
env:
CXX: ${{ inputs.compiler }}
Expand All @@ -41,6 +44,7 @@ runs:
outcome: ${{ steps.make.outcome }}
- name: install
id: install
shell: bash
if: ${{ env.action_status == '' }}
env:
CXX: ${{ inputs.compiler }}
Expand All @@ -53,6 +57,7 @@ runs:
outcome: ${{ steps.install.outcome }}
- name: make check
id: check
shell: bash
if: ${{ env.action_status == '' }}
env:
CXX: ${{ inputs.compiler }}
Expand All @@ -64,9 +69,8 @@ runs:
with:
the-step: check
outcome: ${{ steps.check.outcome }}
- name: show status
run: echo ACTION_STATUS=${{ env.action_status }}
- name: show log
shell: bash
if: ${{ env.action_status == 'check' }}
run: cat src/test-suite.log
continue-on-error: true
3 changes: 3 additions & 0 deletions .github/workflows/actionstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
uses: ./.github/actions/safe_build
with:
compiler: ${{ matrix.compiler }}
- name: show status
shell: bash
run: echo ACTION_STATUS=${{ env.action_status }}
- id: compiler
run: |
cid=$(echo ${{matrix.compiler}} | cut -d\+ -f1)
Expand Down

0 comments on commit fa51e58

Please sign in to comment.