mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-03-30 03:40:59 +00:00
Add pipeline for no-SDL2 win32/win64
This commit is contained in:
parent
6b0a448ab4
commit
91e23786b4
3 changed files with 57 additions and 1 deletions
54
.github/workflows/build-all-and-release.yml
vendored
54
.github/workflows/build-all-and-release.yml
vendored
|
@ -81,6 +81,22 @@ jobs:
|
|||
with:
|
||||
name: pc-nzp-win32
|
||||
path: ./engine/release/nzportable-sdl.exe
|
||||
Compile-Windows32-noSDL2:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: motolegacy/fteqw:latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Windows x86 (no SDL)
|
||||
run: |
|
||||
cd tools/
|
||||
sh build-nzp-win32-nosdl.sh
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pc-nzp-win32-nosdl
|
||||
path: ./engine/release/nzportable.exe
|
||||
Compile-Windows64:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
|
@ -97,6 +113,22 @@ jobs:
|
|||
with:
|
||||
name: pc-nzp-win64
|
||||
path: ./engine/release/nzportable-sdl64.exe
|
||||
Compile-Windows64-noSDL2:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: motolegacy/fteqw:latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Build Windows x86_64 (no SDL)
|
||||
run: |
|
||||
cd tools/
|
||||
sh build-nzp-win64-nosdl.sh
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pc-nzp-win64-nosdl
|
||||
path: ./engine/release/nzportable64.exe
|
||||
Compile-WASM:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
|
@ -117,7 +149,7 @@ jobs:
|
|||
./engine/release/ftewebgl.js
|
||||
Unify-and-Release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [Compile-Linux32, Compile-Linux64, Compile-LinuxArm64, Compile-LinuxArmhf, Compile-Windows32, Compile-Windows64, Compile-WASM]
|
||||
needs: [Compile-Linux32, Compile-Linux64, Compile-LinuxArm64, Compile-LinuxArmhf, Compile-Windows32, Compile-Windows32-noSDL2, Compile-Windows64, Compile-Windows64-noSDL2, Compile-WASM]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
@ -136,6 +168,8 @@ jobs:
|
|||
zip -r -j pc-nzp-linux_armhf.zip pc-nzp-linux_armhf/*
|
||||
zip -r -j pc-nzp-win32.zip pc-nzp-win32/*
|
||||
zip -r -j pc-nzp-win64.zip pc-nzp-win64/*
|
||||
zip -r -j pc-nzp-win32-nosdl.zip pc-nzp-win32-nosdl/*
|
||||
zip -r -j pc-nzp-win64-nosdl.zip pc-nzp-win64-nosdl/*
|
||||
zip -r -j pc-nzp-web.zip pc-nzp-web/*
|
||||
- name: Generate Build Date
|
||||
id: date
|
||||
|
@ -208,6 +242,15 @@ jobs:
|
|||
asset_path: ./pc-nzp-win32.zip
|
||||
asset_name: pc-nzp-win32.zip
|
||||
asset_content_type: application/zip
|
||||
- name: Upload Windows32 Archive (no SDL)
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./pc-nzp-win32-nosdl.zip
|
||||
asset_name: pc-nzp-win32-nosdl.zip
|
||||
asset_content_type: application/zip
|
||||
- name: Upload Windows64 Archive
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
|
@ -217,6 +260,15 @@ jobs:
|
|||
asset_path: ./pc-nzp-win64.zip
|
||||
asset_name: pc-nzp-win64.zip
|
||||
asset_content_type: application/zip
|
||||
- name: Upload Windows64 Archive (no SDL)
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./pc-nzp-win64-nosdl.zip
|
||||
asset_name: pc-nzp-win64-nosdl.zip
|
||||
asset_content_type: application/zip
|
||||
- name: Upload WASM Archive
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
|
|
2
tools/build-nzp-win32-nosdl.sh
Executable file
2
tools/build-nzp-win32-nosdl.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
cd ../engine
|
||||
make makelibs FTE_TARGET=win32 && make m-rel FTE_TARGET=win32 FTE_CONFIG=nzportable -j32
|
2
tools/build-nzp-win64-nosdl.sh
Executable file
2
tools/build-nzp-win64-nosdl.sh
Executable file
|
@ -0,0 +1,2 @@
|
|||
cd ../engine
|
||||
make makelibs FTE_TARGET=win64 && make m-rel FTE_TARGET=win64 FTE_CONFIG=nzportable -j32
|
Loading…
Reference in a new issue