Skip to content

Commit

Permalink
test fixes for c++11
Browse files Browse the repository at this point in the history
  • Loading branch information
externl committed Jan 8, 2024
1 parent 335811e commit f6879bd
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,25 @@ runs:
using: "composite"
steps:
- name: Test
run: python3 allTests.py --debug --all --continue --workers=4 --export-xml=test-report.xml --languages=${{ join(matrix.languages, ',') }} ${{ inputs.flags }}
run: python3 allTests.py --debug --all --continue --workers=4 --export-xml=test-report.xml --config=cpp11-shared --languages=${{ join(matrix.languages, ',') }} ${{ inputs.flags }}
shell: bash
if: runner.os == 'macOS' || runner.os == 'Linux'

- name: Test C++98
run: python3 allTests.py --debug --all --continue --workers=4 --export-xml=test-report.xml --config=cpp98-shared --languages=cpp --languages=cpp ${{ inputs.flags }}
shell: bash
if: (runner.os == 'macOS' || runner.os == 'Linux') && contains(matrix.languages, 'cpp')

- name: Test
run: python allTests.py --debug --all --continue --export-xml=test-report.xml --platform=x64 --workers=4 --languages=${{ join(matrix.languages, ',') }} ${{ inputs.flags }}
run: python allTests.py --debug --all --continue --export-xml=test-report.xml --platform=x64 --config=Cpp11-Release --workers=4 --languages=${{ join(matrix.languages, ',') }} ${{ inputs.flags }}
shell: powershell
if: runner.os == 'Windows'

- name: Test C++98
run: python allTests.py --debug --all --continue --export-xml=test-report.xml --platform=x64 --config=Cpp98-Release --workers=4 --languages=cpp ${{ inputs.flags }}
shell: powershell
if: runner.os == 'Windows' && contains(matrix.languages, 'cpp')

- name: Test Summary
uses: test-summary/action@v2
with:
Expand Down

0 comments on commit f6879bd

Please sign in to comment.