-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2297e0e
Showing
7 changed files
with
879 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.patch eol=lf |
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,48 @@ | ||
|
||
name: build-sdl3 | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2022 | ||
steps: | ||
|
||
- name: checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: build | ||
id: build | ||
shell: cmd | ||
run: call build.cmd | ||
|
||
- name: release | ||
id: release | ||
if: steps.build.outputs.OUTPUT_DATE != '' | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.build.outputs.OUTPUT_DATE }} | ||
release_name: ${{ steps.build.outputs.OUTPUT_DATE }} | ||
body: | | ||
[SDL commit](https://github.com/libsdl-org/SDL/commit/${{ steps.build.outputs.SDL_COMMIT }}) | ||
[SDL_image commit](https://github.com/libsdl-org/SDL_image/commit/${{ steps.build.outputs.SDL_IMAGE_COMMIT }}) | ||
[SDL_mixer commit](https://github.com/libsdl-org/SDL_mixer/commit/${{ steps.build.outputs.SDL_MIXER_COMMIT }}) | ||
[SDL_ttf commit](https://github.com/libsdl-org/SDL_ttf/commit/${{ steps.build.outputs.SDL_TTF_COMMIT }}) | ||
- name: upload | ||
id: upload | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.release.outputs.upload_url }} | ||
asset_path: "SDL3-${{ steps.build.outputs.OUTPUT_DATE }}.zip" | ||
asset_name: "SDL3-${{ steps.build.outputs.OUTPUT_DATE }}.zip" | ||
asset_content_type: application/zip |
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,5 @@ | ||
build | ||
depend | ||
download | ||
SDL3_* | ||
*.exe |
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,10 @@ | ||
Automatic weekly build of [SDL3][] and its helper libraries for 64-bit Windows. | ||
|
||
Build produces shared libraries (.dll files) that are linked statically to their dependencies. | ||
|
||
Download binary build as zip archive from [latest release][] page. | ||
|
||
To build locally run `build.cmd` batch file, make sure you have installed all necessary dependencies (see the beginning of file). | ||
|
||
[SDL3]: https://www.libsdl.org/ | ||
[latest release]: https://github.com/mmozeiko/build-sdl3/releases/latest |
Oops, something went wrong.