mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-22 04:21:46 -04:00
Drop codecov
We don't need service which uses geoblock
This commit is contained in:
parent
4d941b3b31
commit
4815bd386b
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- { cxx: g++, features: "coverage" }
|
- { cxx: g++ }
|
||||||
- { cxx: clang++, features: "nooptlibs" }
|
- { cxx: clang++, features: "nooptlibs" }
|
||||||
- { cxx: clang++, features: "static" }
|
- { cxx: clang++, features: "static" }
|
||||||
name: ${{ matrix.cxx }} ${{ matrix.features }}
|
name: ${{ matrix.cxx }} ${{ matrix.features }}
|
||||||
@ -24,10 +24,6 @@ jobs:
|
|||||||
if [ ${{ !contains(matrix.features, 'nooptlibs') }} = true ]; then
|
if [ ${{ !contains(matrix.features, 'nooptlibs') }} = true ]; then
|
||||||
apt-get install -qq --no-install-recommends libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
|
apt-get install -qq --no-install-recommends libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev
|
||||||
fi
|
fi
|
||||||
if [ ${{ contains(matrix.features, 'coverage') }} = true ]; then
|
|
||||||
apt-get install -qq --no-install-recommends python3-pip git
|
|
||||||
pip install --break-system-packages pyyaml cpp-coveralls
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
run: |
|
run: |
|
||||||
@ -36,7 +32,6 @@ jobs:
|
|||||||
./e 'CXXFLAGS=-Wall -Wextra -pedantic' # XXX: Add -Werror
|
./e 'CXXFLAGS=-Wall -Wextra -pedantic' # XXX: Add -Werror
|
||||||
./e 'CMAKE_ARGS=-DSDL2PP_ENABLE_LIVE_TESTS=NO' # no ability to run live tests in CI (SDL_InitSubsystem failed: x11 not available with xvfb)
|
./e 'CMAKE_ARGS=-DSDL2PP_ENABLE_LIVE_TESTS=NO' # no ability to run live tests in CI (SDL_InitSubsystem failed: x11 not available with xvfb)
|
||||||
./e --if ${{ matrix.cxx == 'clang++' }} 'CXXFLAGS+=-Wno-self-assign-overloaded' # explicit self-assignment tests
|
./e --if ${{ matrix.cxx == 'clang++' }} 'CXXFLAGS+=-Wno-self-assign-overloaded' # explicit self-assignment tests
|
||||||
./e --if ${{ contains(matrix.features, 'coverage') }} 'CXXFLAGS+=--coverage' 'LDFLAGS+=--coverage'
|
|
||||||
./e --if ${{ contains(matrix.features, 'nooptlibs') }} 'CMAKE_ARGS+=-DSDL2PP_WITH_IMAGE=NO -DSDL2PP_WITH_MIXER=NO -DSDL2PP_WITH_TTF=NO'
|
./e --if ${{ contains(matrix.features, 'nooptlibs') }} 'CMAKE_ARGS+=-DSDL2PP_WITH_IMAGE=NO -DSDL2PP_WITH_MIXER=NO -DSDL2PP_WITH_TTF=NO'
|
||||||
./e --if ${{ contains(matrix.features, 'static') }} 'CMAKE_ARGS+=-DSDL2PP_STATIC=YES'
|
./e --if ${{ contains(matrix.features, 'static') }} 'CMAKE_ARGS+=-DSDL2PP_STATIC=YES'
|
||||||
|
|
||||||
@ -67,11 +62,3 @@ jobs:
|
|||||||
cd $GITHUB_WORKSPACE/exttests/cmake
|
cd $GITHUB_WORKSPACE/exttests/cmake
|
||||||
cmake .
|
cmake .
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: Upload coverage
|
|
||||||
if: ${{ contains(matrix.features, 'coverage') }}
|
|
||||||
uses: codecov/codecov-action@v3
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
fail_ci_if_error: true
|
|
||||||
gcov: true
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user