40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
name: Nightly Release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths-ignore:
|
|
- '.gitignore'
|
|
- '*.md'
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Windows64
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup msbuild
|
|
uses: microsoft/setup-msbuild@v2
|
|
|
|
- name: Build
|
|
run: MSBuild.exe MinecraftConsoles.sln /p:Configuration=Release /p:Platform="Windows64"
|
|
|
|
- name: Zip Build
|
|
run: 7z a -r LCEWindows64.zip ./x64/Release/*
|
|
|
|
- name: Update release
|
|
uses: andelf/nightly-release@main
|
|
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
tag_name: nightly
|
|
name: Nightly Release
|
|
body: Compiled with MSVC v14.44.35207 in Release mode with Whole Program Optimization, as well as `/O2 /Ot /Oi /Ob3 /GF`. (So far the floating point model is `/fp:strict` to avoid undefined behavior before we refactor for performance). Requires at least Windows 7 and DirectX 11 compatible GPU to run.
|
|
files: LCEWindows64.zip
|