diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 170fb58..c8e0e46 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ concurrency: cancel-in-progress: true env: - PREMAKE_VERSION: "5.0.0-beta2" + PREMAKE_VERSION: "5.0.0-beta5" jobs: build-linux: @@ -47,12 +47,12 @@ jobs: sudo apt-get install crossbuild-essential-arm64 -y - name: Install Premake5 - uses: diamante0018/setup-premake@master + uses: diamante0018/setup-premake@v0.0.2 with: version: ${{ env.PREMAKE_VERSION }} - name: Generate project files - run: premake5 gmake2 + run: premake5 gmake - name: Set up problem matching uses: ammaraskar/gcc-problem-matcher@master diff --git a/LICENSE b/LICENSE index de70cfc..3aa902e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2022, Edoardo Sanguineti +Copyright (c) 2025, diamante0018 All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/premake5.lua b/premake5.lua index 173c13e..c550b3c 100644 --- a/premake5.lua +++ b/premake5.lua @@ -38,7 +38,7 @@ end filter "configurations:Release" optimize "Size" defines "NDEBUG" - flags "FatalCompileWarnings" + fatalwarnings "All" filter {} filter "configurations:Debug" diff --git a/src/monitor.c b/src/monitor.c index 61e6347..a8995ec 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -147,7 +147,6 @@ int analyse() { status = popen(command, "r"); if (!status) { perror("popen"); - pclose(status); return 1; }