Just to Build in 4.3
This commit is contained in:
parent
5d23b5ca71
commit
f93c2e3bd4
1 changed files with 8 additions and 6 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
|
@ -10,7 +10,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
pkgversion: ${{ steps.version.outputs.pkgversion }}
|
pkgversion: ${{ steps.version.outputs.pkgversion }}
|
||||||
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
echo "pkgversion=$(sed -n 's/.*<PackageVersion>\(.*\)<\/PackageVersion>.*/\1/p' Raylib-cs/Build.props)">> ${GITHUB_OUTPUT}
|
echo "pkgversion=$(sed -n 's/.*<PackageVersion>\(.*\)<\/PackageVersion>.*/\1/p' Raylib-cs/Build.props)">> ${GITHUB_OUTPUT}
|
||||||
|
|
||||||
build-android:
|
build-android:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
steps:
|
steps:
|
||||||
- name: setup dependencies
|
- name: setup dependencies
|
||||||
|
|
@ -124,7 +124,8 @@ jobs:
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
-D BUILD_SHARED_LIBS=ON \
|
-D BUILD_SHARED_LIBS=ON \
|
||||||
-D BUILD_EXAMPLES=OFF \
|
-D BUILD_EXAMPLES=OFF \
|
||||||
-D CMAKE_C_FLAGS="${{ matrix.cflags }}"
|
-D CMAKE_C_FLAGS="${{ matrix.cflags }}" \
|
||||||
|
-D GRAPHICS=GRAPHICS_API_OPENGL_43
|
||||||
cmake --build build --config Release
|
cmake --build build --config Release
|
||||||
|
|
||||||
- name: upload build
|
- name: upload build
|
||||||
|
|
@ -192,7 +193,8 @@ jobs:
|
||||||
-D CMAKE_BUILD_TYPE=Release \
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
-D BUILD_SHARED_LIBS=ON \
|
-D BUILD_SHARED_LIBS=ON \
|
||||||
-D BUILD_EXAMPLES=OFF \
|
-D BUILD_EXAMPLES=OFF \
|
||||||
-D CMAKE_C_FLAGS="${{ matrix.cflags }}"
|
-D CMAKE_C_FLAGS="${{ matrix.cflags }}" \
|
||||||
|
-D GRAPHICS=GRAPHICS_API_OPENGL_43
|
||||||
cmake --build build --config Release
|
cmake --build build --config Release
|
||||||
|
|
||||||
- name: upload build
|
- name: upload build
|
||||||
|
|
@ -203,7 +205,7 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- build
|
- build
|
||||||
- build-android
|
- build-android
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue