Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: added github actions for build and for publishing the docs #4117

Merged
merged 4 commits into from Feb 22, 2021

Conversation

mgerhardy
Copy link
Contributor

@mgerhardy mgerhardy commented Feb 21, 2021

Added github actions for building sdl for the three major systems (linux, windows and osx)

the build currently fails for windows. There is some unresolved symbol - it already works for linux and macosx.

  SDL_xinputhaptic.c
  Generating Code...
     Creating library D:/a/SDL/SDL/build/Debug/SDL2d.lib and object D:/a/SDL/SDL/build/Debug/SDL2d.exp
SDL_hidapijoystick.obj : error LNK2019: unresolved external symbol close referenced in function HIDAPI_IsEquivalentToDevice [D:\a\SDL\SDL\build\SDL2.vcxproj]
D:\a\SDL\SDL\build\Debug\SDL2d.dll : fatal error LNK1120: 1 unresolved externals [D:\a\SDL\SDL\build\SDL2.vcxproj]
  Building Custom Rule D:/a/SDL/SDL/CMakeLists.txt
  SDL.c

I'm using cmake for the build at the moment. If there is interest in e.g. configure && make let me know.

Also included is a build job to publish the markdown from docs/ to github pages. See the following screenshot. I would also opt-in to cleanup the markdown... just let me know if this is desired. This is just published for the main branch. Should be available on https://libsdl-org.github.io/sdl/

Bildschirmfoto von 2021-02-21 14-16-55

@slouken
Copy link
Collaborator

slouken commented Feb 22, 2021

Yes, if you want to clean up the docs for markdown, that would be great.

Thanks!

@slouken slouken merged commit 557aa14 into libsdl-org:main Feb 22, 2021
@mgerhardy
Copy link
Contributor Author

It looks like github actions are not active for this project

@slouken
Copy link
Collaborator

slouken commented Feb 23, 2021

I just enabled them, thanks!

@mgerhardy
Copy link
Contributor Author

mgerhardy commented Feb 23, 2021

There is still a problem about no permissions for using external actions. Is that on purpose or by accident?

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.

None yet

2 participants