maint: use workflow for installing premake5 (#6)
This commit is contained in:
parent
b55dd139cb
commit
18201b2457
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@ -40,8 +40,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
|
||||||
@ -91,8 +96,13 @@ jobs:
|
|||||||
- name: Install Mold
|
- name: Install Mold
|
||||||
uses: rui314/setup-mold@staging
|
uses: rui314/setup-mold@staging
|
||||||
|
|
||||||
|
- 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
|
||||||
@ -139,8 +149,13 @@ jobs:
|
|||||||
# NOTE - If LFS ever starts getting used during builds, switch this to true!
|
# NOTE - If LFS ever starts getting used during builds, switch this to true!
|
||||||
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
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
@echo off
|
|
||||||
git submodule update --init --recursive
|
|
||||||
tools\premake5 %* vs2022
|
|
@ -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.
Loading…
Reference in New Issue
Block a user