Skip to content

Commit

Permalink
fix(ci): Try to fix MingW build failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
na2axl committed Nov 6, 2024
1 parent c3643a3 commit 7a765c1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ jobs:
if: startsWith(matrix.config.os, 'windows') && startsWith(matrix.config.key, 'mingw')
run: |
choco upgrade mingw
echo "C:\ProgramData\mingw64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Install dependencies on Ubuntu
if: startsWith(matrix.config.os, 'ubuntu')
Expand Down Expand Up @@ -174,7 +175,6 @@ jobs:
- name: Configure
id: configure
shell: bash
working-directory: ${{ inputs.project-path }}
run: |
mkdir build
Expand All @@ -198,13 +198,11 @@ jobs:
cat ${{ github.workspace }}/build/vcpkg_installed/vcpkg/issue_body.md
- name: Build
shell: bash
working-directory: ${{ inputs.project-path }}/build
run: cmake --build . --config ${{ matrix.build_type }}

- name: Test
if: matrix.build_type == 'debug'
shell: bash
working-directory: ${{ inputs.project-path }}/build/tests
run: ctest -j1 -C debug --output-on-failure
env:
Expand All @@ -214,7 +212,6 @@ jobs:
- name: Generate coverage
continue-on-error: true
if: matrix.build_type == 'debug' && !startsWith(matrix.config.os, 'windows')
shell: bash
working-directory: ${{ inputs.project-path }}/build
run: |
lcov --capture --directory . --output-file coverage.info --base-directory . --ignore-errors inconsistent,range,mismatch,source,count,negative
Expand All @@ -230,7 +227,6 @@ jobs:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Install Strip
shell: bash
working-directory: ${{ inputs.project-path }}/build
run: cmake --install . --strip --config ${{ matrix.build_type }}

Expand Down

0 comments on commit 7a765c1

Please sign in to comment.