Add raylib
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
5a0cf43dde
commit
9bdccda54b
1014 changed files with 495213 additions and 0 deletions
37
raylib-5.5/.github/workflows/parse.yml
vendored
Normal file
37
raylib-5.5/.github/workflows/parse.yml
vendored
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
name: Parse raylib_api
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- "src/raylib.h"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Update parse files
|
||||
working-directory: parser
|
||||
run: |
|
||||
make raylib_api
|
||||
mv raylib_api.* output
|
||||
|
||||
- name: Diff parse files
|
||||
id: diff
|
||||
run: |
|
||||
git add -N parser
|
||||
git diff --name-only --exit-code
|
||||
continue-on-error: true
|
||||
|
||||
- name: Commit parse files
|
||||
if: steps.diff.outcome == 'failure'
|
||||
run: |
|
||||
set -x
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config user.name "github-actions[bot]"
|
||||
git add parser
|
||||
git commit -m "Update raylib_api.* by CI"
|
||||
git push
|
||||
Loading…
Add table
Add a link
Reference in a new issue