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:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
version: ${{ steps.version.outputs.version }}
|
||||
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}
|
||||
|
||||
build-android:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
if-no-files-found: error
|
||||
|
||||
build-linux:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- name: setup dependencies
|
||||
|
|
@ -124,7 +124,8 @@ jobs:
|
|||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D BUILD_SHARED_LIBS=ON \
|
||||
-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
|
||||
|
||||
- name: upload build
|
||||
|
|
@ -192,7 +193,8 @@ jobs:
|
|||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D BUILD_SHARED_LIBS=ON \
|
||||
-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
|
||||
|
||||
- name: upload build
|
||||
|
|
@ -203,7 +205,7 @@ jobs:
|
|||
if-no-files-found: error
|
||||
|
||||
publish:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build
|
||||
- build-android
|
||||
|
|
|
|||
Loading…
Reference in a new issue