Add AVX Build

This commit is contained in:
GabsPuNs
2026-05-17 02:47:32 -04:00
parent 061589fc74
commit 3d646745eb

View File

@@ -56,11 +56,25 @@ jobs:
- name: Server 7z Build
run: 7z a -r LCEServer${{ matrix.platform }}.7z ./build/${{ env.MATRIX_PLATFORM }}/Minecraft.Server/Release/* "-x!*.ipdb" "-x!*.iobj"
- name: Run CMake (AVX Client Build)
uses: lukka/run-cmake@v10
env:
VCPKG_ROOT: "" # Disable vcpkg for CI builds
with:
configurePreset: ${{ env.MATRIX_PLATFORM }}
configurePresetAdditionalArgs: "['-DCMAKE_CXX_FLAGS=/arch:AVX']"
buildPreset: ${{ env.MATRIX_PLATFORM }}-release
buildPresetAdditionalArgs: "['--target', 'Minecraft.Client']"
- name: Client AVX 7z Build
run: 7z a -r LCE${{ matrix.platform }}AVX.7z ./build/${{ env.MATRIX_PLATFORM }}/Minecraft.Client/Release/* "-x!*.ipdb" "-x!*.iobj"
- name: Stage artifacts
run: |
New-Item -ItemType Directory -Force -Path staging
Copy-Item LCE${{ matrix.platform }}.7z staging/
Copy-Item LCEServer${{ matrix.platform }}.7z staging/
Copy-Item LCE${{ matrix.platform }}AVX.7z staging/
- name: Upload artifacts
uses: actions/upload-artifact@v6