fix: adapt CI/CD for Gitea compatibility
Some checks failed
Build / Build (push) Successful in 9m29s
Build and Release / prepare (push) Successful in 1s
MSVC Build / build-windows (windows-latest) (push) Has been cancelled
Build and Release / build_linux (push) Failing after 43s
Build and Release / build_macos (push) Failing after 11s
Build and Release / build_windows (push) Failing after 14s
Build and Release / publish_release (push) Has been skipped
Some checks failed
Build / Build (push) Successful in 9m29s
Build and Release / prepare (push) Successful in 1s
MSVC Build / build-windows (windows-latest) (push) Has been cancelled
Build and Release / build_linux (push) Failing after 43s
Build and Release / build_macos (push) Failing after 11s
Build and Release / build_windows (push) Failing after 14s
Build and Release / publish_release (push) Has been skipped
- Replace upload/download-artifact v4 with v3 (v4 not supported on Gitea) - Fix ObjectsPool::allocateNew() usage (returns void, not bool) - Add cmake and build-essential to dependencies - Update release workflow to use softprops/action-gh-release
This commit is contained in:
parent
403dbc7791
commit
42dcf7c888
2
.github/workflows/appimage.yml
vendored
2
.github/workflows/appimage.yml
vendored
@ -59,7 +59,7 @@ jobs:
|
||||
UPDATE_INFO: gh-releases-zsync|MihailRis|VoxelEngine-Cpp|latest|*x86_64.AppImage.zsync
|
||||
with:
|
||||
recipe: dev/AppImageBuilder.yml
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: AppImage
|
||||
path: './*.AppImage*'
|
||||
|
||||
2
.github/workflows/cmake.yml
vendored
2
.github/workflows/cmake.yml
vendored
@ -68,7 +68,7 @@ jobs:
|
||||
run: ctest --test-dir ${{github.workspace}}/build
|
||||
- name: Upload artifacts
|
||||
if: ${{ inputs.upload_artifacts }}
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: VoxelEngine
|
||||
path: |
|
||||
|
||||
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
||||
hdiutil create VoxelEngineMacApp.dmg -volname "VoxelEngine" -srcfolder VoxelEngineDmgContent -ov -format UDZO
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: VoxelEngineMacOs
|
||||
path: VoxelEngineMacApp.dmg
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
with:
|
||||
ref: ${{ env.BRANCH_NAME }}
|
||||
- name: Download Build Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: ./artifacts
|
||||
- name: Show Artifacts
|
||||
|
||||
2
.github/workflows/windows-clang.yml
vendored
2
.github/workflows/windows-clang.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
||||
cp build/*.dll packaged/
|
||||
cp -r build/res/* packaged/res/
|
||||
mv packaged/VoxelEngine.exe packaged/VoxelCore.exe
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Windows-Build
|
||||
path: 'packaged/*'
|
||||
|
||||
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
@ -47,7 +47,7 @@ jobs:
|
||||
cp C:/Windows/System32/msvcp140.dll packaged/msvcp140.dll
|
||||
mv packaged/VoxelEngine.exe packaged/VoxelCore.exe
|
||||
working-directory: ${{ github.workspace }}
|
||||
- uses: actions/upload-artifact@v4
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Windows-Build
|
||||
path: 'packaged/*'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user