maint: use workflow for installing premake

This commit is contained in:
6arelyFuture 2023-06-08 12:07:42 +02:00 committed by GitHub
parent 0b374cd08f
commit 3313b0ebf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 12 deletions

View File

@ -39,8 +39,13 @@ jobs:
- name: Add msbuild to PATH - name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.3.1 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 - name: Generate project files
run: cmd /C call generate.bat run: premake5 vs2022
- name: Set up problem matching - name: Set up problem matching
uses: ammaraskar/msvc-problem-matcher@master uses: ammaraskar/msvc-problem-matcher@master
@ -80,8 +85,13 @@ jobs:
fetch-depth: 0 fetch-depth: 0
lfs: false lfs: false
- name: Install Premake5
uses: abel0b/setup-premake@v2.2
with:
version: "5.0.0-beta2"
- name: Generate project files - name: Generate project files
run: ./generate.sh run: premake5 gmake2
- 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,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

View File

@ -40,5 +40,6 @@
#include <ranges> #include <ranges>
#include <span> #include <span>
#include <sstream> #include <sstream>
#include <type_traits>
#include <utility> #include <utility>
#include <vector> #include <vector>

Binary file not shown.

Binary file not shown.

Binary file not shown.