Skip to content

Commit

Permalink
first
Browse files Browse the repository at this point in the history
  • Loading branch information
mmozeiko committed Jan 8, 2023
0 parents commit 2297e0e
Show file tree
Hide file tree
Showing 7 changed files with 879 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.patch eol=lf
48 changes: 48 additions & 0 deletions .github/workflows/build-sdl3.yml
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
build
depend
download
SDL3_*
*.exe
10 changes: 10 additions & 0 deletions README.md
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
Loading

0 comments on commit 2297e0e

Please sign in to comment.