build: update Premake5 (#3)

This commit is contained in:
Future authored and GitHub committed 2025-03-22 12:28:03 +01:00
1 parent 27f931d11a
commit 81c509081f
4 files changed
+5 -6

No files matched your search

+3 -3
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
+1 -1
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
+1 -1
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"
-1
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;
} }