maint: use workflow for installing premake5 (#6)

This commit is contained in:
Edo 2023-06-08 11:49:48 +02:00 committed by GitHub
parent b55dd139cb
commit 18201b2457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 13 deletions

View File

@ -40,8 +40,13 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.3.1
- name: Install Premake5
uses: abel0b/setup-premake@v2.2
with:
version: "5.0.0-beta2"
- name: Generate project files
run: cmd /C call generate.bat
run: premake5 vs2022
- name: Set up problem matching
uses: ammaraskar/msvc-problem-matcher@master
@ -91,8 +96,13 @@ jobs:
- name: Install Mold
uses: rui314/setup-mold@staging
- name: Install Premake5
uses: abel0b/setup-premake@v2.2
with:
version: "5.0.0-beta2"
- name: Generate project files
run: ./generate.sh
run: premake5 gmake2
- name: Set up problem matching
uses: ammaraskar/gcc-problem-matcher@master
@ -139,8 +149,13 @@ jobs:
# NOTE - If LFS ever starts getting used during builds, switch this to true!
lfs: false
- name: Install Premake5
uses: abel0b/setup-premake@v2.2
with:
version: "5.0.0-beta2"
- name: Generate project files
run: ./generate.sh
run: premake5 gmake2
- name: Set up problem matching
uses: ammaraskar/gcc-problem-matcher@master

View File

@ -1,3 +0,0 @@
@echo off
git submodule update --init --recursive
tools\premake5 %* vs2022

View File

@ -1,7 +0,0 @@
#!/bin/bash
git submodule update --init --recursive
if [ "$(uname)" == "Darwin" ]; then
./tools/premake5-mac gmake2
else
./tools/premake5-linux gmake2
fi

Binary file not shown.

Binary file not shown.

Binary file not shown.