Skip to content

Fix CI#17

Open
CyberShadow wants to merge 6 commits into
Davidebyzero:masterfrom
CyberShadow:next
Open

Fix CI#17
CyberShadow wants to merge 6 commits into
Davidebyzero:masterfrom
CyberShadow:next

Conversation

@CyberShadow
Copy link
Copy Markdown
Collaborator

@CyberShadow CyberShadow commented Mar 31, 2024

Reinstate and fix the GitHub Actions workflow.

This reverts commit caa2ce0.

The explanation is wrong; CI was failing due to a regression in its
configuration introduced in 07d0ddd.

GitHub does not provide any "ubuntu-23.10" runners.

The list of runners provided by GitHub is here:

https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
@CyberShadow CyberShadow changed the title Revert "[GitHub Actions] Remove build test" Fix CI Mar 31, 2024
See previous commit's commit message for details.
…ngGlitch

Fixes:

sdl/console.cpp: In function ‘void FixUpLineJoiningGlitch(SDL_Surface*, Uint8*, bool)’:
sdl/console.cpp:239:59: error: unused parameter ‘HorzLineEdge’ [-Werror=unused-parameter]
  239 | static void FixUpLineJoiningGlitch(SDL_Surface *s, Uint8 *HorzLineEdge, bool useRightEdge)
      |                                                    ~~~~~~~^~~~~~~~~~~~
Fixes:

sdl/console.cpp: In function ‘void RenderCharacterAt(SDL_Renderer*, TTF_Font*, Uint, Uint)’:
sdl/console.cpp:390:19: error: unused variable ‘black’ [-Werror=unused-variable]
  390 |         SDL_Color black = {0, 0, 0, 0xFF};
      |                   ^~~~~
Fixes:

sdl/console.cpp: In function ‘void ClearGlyphs()’:
sdl/console.cpp:418:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
  418 |         if (SingleHorzLineEdge) delete [] SingleHorzLineEdge; SingleHorzLineEdge = NULL;
      |         ^~
sdl/console.cpp:418:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  418 |         if (SingleHorzLineEdge) delete [] SingleHorzLineEdge; SingleHorzLineEdge = NULL;
      |                                                               ^~~~~~~~~~~~~~~~~~
sdl/console.cpp:419:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
  419 |         if (DoubleHorzLineEdge) delete [] DoubleHorzLineEdge; DoubleHorzLineEdge = NULL;
      |         ^~
sdl/console.cpp:419:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  419 |         if (DoubleHorzLineEdge) delete [] DoubleHorzLineEdge; DoubleHorzLineEdge = NULL;
      |                                                               ^~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant