-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Use CMake build in CI for Linux, macOS and Windows (#10)
Gets SDL2 from apt for Ubuntu, homebrew for macOS and vcpkg for Windows. Due to some unfortunate cmake mishaps with SDL2 < 2.0.16, we need to bump to Ubuntu 22.04 -- 20.04 (latest) has 2.0.10 instead. Should consider enabling the caching on the jakt action for rapid fire commits, otherwise doing that action from 0 every time turns about a ~6 minute build into a ~13 minute build. Note that CMAKE_PREFIX_PATH comes in as an environment variable from the setup-jakt action thanks to me begging CxByte to add it.
- Loading branch information
Showing
4 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build/ | ||
CMakeSettings.json | ||
jakt_nes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import extern c "SDL2/SDL.h" {} | ||
import extern c "SDL.h" {} | ||
|
||
enum Key { | ||
Up | ||
|