mirror of https://github.com/ppy/SDL3-CS.git
Merge pull request #71 from Susko3/require-specifying-SDL3-commit-in-build
Require specifying SDL3 commit to build to prevent incompatible bindings and binaries
This commit is contained in:
commit
9f385f67ce
|
|
@ -1,7 +1,12 @@
|
|||
name: Build Native
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs: {}
|
||||
inputs:
|
||||
sdl_ref:
|
||||
description: SDL3 commit/branch/tag to build
|
||||
required: true
|
||||
default: main
|
||||
type: string
|
||||
# schedule:
|
||||
# - cron: '0 0 * * *'
|
||||
env:
|
||||
|
|
@ -29,7 +34,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: 'libsdl-org/SDL'
|
||||
ref: 'main'
|
||||
ref: ${{ inputs.sdl_ref }}
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -64,7 +69,7 @@ jobs:
|
|||
RUNNER_OS: ${{ runner.os }}
|
||||
FLAGS: ${{ matrix.platform.flags }}
|
||||
run: ./SDL3-CS/build.sh
|
||||
|
||||
|
||||
- name: Get Actions user id
|
||||
if: runner.os == 'Linux'
|
||||
id: get_uid
|
||||
|
|
@ -94,7 +99,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: 'libsdl-org/SDL'
|
||||
ref: 'main'
|
||||
ref: ${{ inputs.sdl_ref }}
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -137,7 +142,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: 'libsdl-org/SDL'
|
||||
ref: 'main'
|
||||
ref: ${{ inputs.sdl_ref }}
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue