build: update Premake5 (#3)

This commit is contained in:
6arelyFuture 2025-03-22 12:28:03 +01:00 committed by GitHub
parent 27f931d11a
commit 81c509081f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 6 deletions

View File

@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
env: env:
PREMAKE_VERSION: "5.0.0-beta2" PREMAKE_VERSION: "5.0.0-beta5"
jobs: jobs:
build-linux: build-linux:
@ -47,12 +47,12 @@ jobs:
sudo apt-get install crossbuild-essential-arm64 -y sudo apt-get install crossbuild-essential-arm64 -y
- name: Install Premake5 - name: Install Premake5
uses: diamante0018/setup-premake@master uses: diamante0018/setup-premake@v0.0.2
with: with:
version: ${{ env.PREMAKE_VERSION }} version: ${{ env.PREMAKE_VERSION }}
- name: Generate project files - name: Generate project files
run: premake5 gmake2 run: premake5 gmake
- name: Set up problem matching - name: Set up problem matching
uses: ammaraskar/gcc-problem-matcher@master uses: ammaraskar/gcc-problem-matcher@master

View File

@ -1,6 +1,6 @@
BSD 3-Clause License BSD 3-Clause License
Copyright (c) 2022, Edoardo Sanguineti Copyright (c) 2025, diamante0018
All rights reserved. All rights reserved.
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without

View File

@ -38,7 +38,7 @@ end
filter "configurations:Release" filter "configurations:Release"
optimize "Size" optimize "Size"
defines "NDEBUG" defines "NDEBUG"
flags "FatalCompileWarnings" fatalwarnings "All"
filter {} filter {}
filter "configurations:Debug" filter "configurations:Debug"

View File

@ -147,7 +147,6 @@ int analyse() {
status = popen(command, "r"); status = popen(command, "r");
if (!status) { if (!status) {
perror("popen"); perror("popen");
pclose(status);
return 1; return 1;
} }