Skip to content

Commit 7882c00

Browse files
committed
Follow premake renaming of gmake2 into gmake
1 parent bf03ebb commit 7882c00

File tree

17 files changed

+38
-39
lines changed

17 files changed

+38
-39
lines changed

.github/workflows/premake5-qt-ubuntu-gmake2.yml renamed to .github/workflows/premake5-qt-ubuntu-gmake.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
name: premake5-qt-ubuntu-gmake2
1+
name: premake5-qt-ubuntu-gmake
22

33
on:
44
workflow_dispatch:
55
push:
66
paths:
77
- 'projects-qt/project-*/**'
8-
- '.github/workflows/premake5-qt-ubuntu-gmake2.yml'
8+
- '.github/workflows/premake5-qt-ubuntu-gmake.yml'
99
- '.github/actions/install-premake5/action.yml'
1010
- '!**/*.md'
1111
- '!projects-qt/**/unsupported_by_*'
1212
- '!**/premake4.lua'
13-
- 'projects-qt/**/unsupported_by_gmake2'
14-
- 'projects-qt/**/unsupported_by_premake5_gmake2'
13+
- 'projects-qt/**/unsupported_by_gmake'
14+
- 'projects-qt/**/unsupported_by_premake5_gmake'
1515
- 'submodules/premake-qt'
1616

1717
pull_request:
1818
paths:
1919
- 'projects-qt/project-*/**'
20-
- '.github/workflows/premake5-qt-ubuntu-gmake2.yml'
20+
- '.github/workflows/premake5-qt-ubuntu-gmake.yml'
2121
- '.github/actions/install-premake5/action.yml'
2222
- '!**/*.md'
2323
- '!projects-qt/**/unsupported_by_*'
2424
- '!**/premake4.lua'
25-
- 'projects-qt/**/unsupported_by_gmake2'
26-
- 'projects-qt/**/unsupported_by_premake5_gmake2'
25+
- 'projects-qt/**/unsupported_by_gmake'
26+
- 'projects-qt/**/unsupported_by_premake5_gmake'
2727
- 'submodules/premake-qt'
2828

2929
jobs:
@@ -69,4 +69,4 @@ jobs:
6969
run: | # fake X-server as Qt widget requires displays :/
7070
# Cannot use environment variable ($QT_ROOT_DIR ) in command line, so use environment variable (QT_DIR) or its hardcoded value
7171
#--qt-root=/home/runner/work/premake-sample-projects/Qt/5.15.0/gcc_64
72-
xvfb-run -a python3 ./test_projects.py premake5 projects-qt gmake2 --scripts=`pwd` --qt-version=${{ matrix.qt-version }}
72+
xvfb-run -a python3 ./test_projects.py premake5 projects-qt gmake --scripts=`pwd` --qt-version=${{ matrix.qt-version }}

.github/workflows/premake5-ubuntu-gmake2.yml renamed to .github/workflows/premake5-ubuntu-gmake.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: premake5-ubuntu-gmake2
1+
name: premake5-ubuntu-gmake
22

33
on:
44
workflow_dispatch:
55
push:
66
paths:
77
- 'projects/project-*/**'
8-
- '.github/workflows/premake5-ubuntu-gmake2.yml'
8+
- '.github/workflows/premake5-ubuntu-gmake.yml'
99
- '.github/actions/install-premake5/action.yml'
1010
- '!**/*.md'
1111
- '!projects/**/unsupported_by_*'
1212
- '!**/premake4.lua'
13-
- 'projects/**/unsupported_by_gmake2'
14-
- 'projects/**/unsupported_by_premake5_gmake2'
13+
- 'projects/**/unsupported_by_gmake'
14+
- 'projects/**/unsupported_by_premake5_gmake'
1515

1616
pull_request:
1717
paths:
1818
- 'projects/project-*/**'
19-
- '.github/workflows/premake5-ubuntu-gmake2.yml'
19+
- '.github/workflows/premake5-ubuntu-gmake.yml'
2020
- '.github/actions/install-premake5/action.yml'
2121
- '!**/*.md'
2222
- '!projects/**/unsupported_by_*'
2323
- '!**/premake4.lua'
2424
- 'projects/**/unsupported_by_gmake2'
25-
- 'projects/**/unsupported_by_premake5_gmake2'
25+
- 'projects/**/unsupported_by_premake5_gmake'
2626

2727
jobs:
2828
linux:
@@ -41,10 +41,10 @@ jobs:
4141
run: make --version
4242

4343
- name: test projects default(gcc)
44-
run: python3 ./test_projects.py premake5 projects gmake2
44+
run: python3 ./test_projects.py premake5 projects gmake
4545

4646
- name: test projects gcc
47-
run: python3 ./test_projects.py premake5 projects gmake2 --cc=gcc
47+
run: python3 ./test_projects.py premake5 projects gmake --cc=gcc
4848

4949
- name: test projects clang
50-
run: python3 ./test_projects.py premake5 projects gmake2 --cc=clang
50+
run: python3 ./test_projects.py premake5 projects gmake --cc=clang
Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,30 @@
1-
name: premake5-windows-gmake2
1+
name: premake5-windows-gmake
22

33
on:
44
workflow_dispatch:
55
push:
66
paths:
77
- 'projects/project-*/**'
8-
- '.github/workflows/premake5-windows-gmake2.yml'
8+
- '.github/workflows/premake5-windows-gmake.yml'
99
- '.github/actions/install-premake5/action.yml'
1010
- '!**/*.md'
1111
- '!projects/**/unsupported_by_*'
1212
- '!**/premake4.lua'
13-
- 'projects/**/unsupported_by_gmake2'
14-
- 'projects/**/unsupported_by_gmake2_windows'
15-
- 'projects/**/unsupported_by_premake5_gmake2'
16-
- 'submodules/premake-gmake2'
13+
- 'projects/**/unsupported_by_gmake'
14+
- 'projects/**/unsupported_by_gmake_windows'
15+
- 'projects/**/unsupported_by_premake5_gmake'
1716

1817
pull_request:
1918
paths:
2019
- 'projects/project-*/**'
21-
- '.github/workflows/premake5-windows-gmake2.yml'
20+
- '.github/workflows/premake5-windows-gmake.yml'
2221
- '.github/actions/install-premake5/action.yml'
2322
- '!**/*.md'
2423
- '!projects/**/unsupported_by_*'
2524
- '!**/premake4.lua'
26-
- 'projects/**/unsupported_by_gmake2'
27-
- 'projects/**/unsupported_by_gmake2_windows'
28-
- 'projects/**/unsupported_by_premake5_gmake2'
29-
- 'submodules/premake-gmake2'
25+
- 'projects/**/unsupported_by_gmake'
26+
- 'projects/**/unsupported_by_gmake_windows'
27+
- 'projects/**/unsupported_by_premake5_gmake'
3028

3129
jobs:
3230
windows:
@@ -45,10 +43,10 @@ jobs:
4543

4644
- name: test projects
4745
run: |
48-
python3 ./test_projects.py premake5 projects gmake2 --shell=posix
46+
python3 ./test_projects.py premake5 projects gmake --shell=posix
4947
shell: bash
5048

5149
# - name: test projects
5250
# run: |
53-
# python3 ./test_projects.py premake5 projects gmake2
51+
# python3 ./test_projects.py premake5 projects gmake
5452
# shell: cmd

Readme.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ Sample projects for integration testing [premake4/premake5](https://premake.gith
1313
- [Module Ninja](https://github.com/jimon/premake-ninja)
1414
- [Module qmake](https://github.com/Jarod42/premake-qmake) (fixed fork)
1515

16-
||gmakelegacy[^gmakelegacy]|gmake2|Codelite|Msvc vs2019|Msvc vs2022|xcode4|CodeBlocks|CMake|Ninja|qmake|
16+
||gmakelegacy:information_source:[^gmakelegacy]|gmake:information_source:[^game2]|Codelite|Msvc vs2019|Msvc vs2022|xcode4|CodeBlocks|CMake|Ninja|qmake|
1717
|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
18-
||![Premake5 ubuntu gmake badge][1]|![Premake5 ubuntu gmake2 badge][2]![Premake5 windows gmake2 badge][3]|![Premake5 ubuntu codelite badge][4]|![Premake5 windows msvc 2019 badge][5]|![Premake5 windows msvc 2022 badge][6]|![Premake5 mac_xcode4 badge][7]|![Premake5 ubuntu codeblocks badge][8]|![Premake5 ubuntu cmake badge][9]![Premake5 ubuntu cmake badge][10]|![Premake5 ubuntu ninja badge][11]![Premake5 window ninja badge][12]|![Premake5 ubuntu qmake badge][13]|
18+
||![Premake5 ubuntu gmake badge][1]|![Premake5 ubuntu gmake badge][2]![Premake5 windows gmake badge][3]|![Premake5 ubuntu codelite badge][4]|![Premake5 windows msvc 2019 badge][5]|![Premake5 windows msvc 2022 badge][6]|![Premake5 mac_xcode4 badge][7]|![Premake5 ubuntu codeblocks badge][8]|![Premake5 ubuntu cmake badge][9]![Premake5 ubuntu cmake badge][10]|![Premake5 ubuntu ninja badge][11]![Premake5 window ninja badge][12]|![Premake5 ubuntu qmake badge][13]|
1919
|[`location`](https://premake.github.io/docs/location)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark::warning:[^project_location]|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:grey_question:|
2020
|[`targetdir`](https://premake.github.io/docs/targetdir)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
2121
|[`targetname`](https://premake.github.io/docs/targetname)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
@@ -59,7 +59,7 @@ Sample projects for integration testing [premake4/premake5](https://premake.gith
5959
- using [premake-qt module](https://github.com/dcourtois/premake-qt) for all generators but qmake :information_source:[^qmake_premake_qt_incompatible].
6060
- with [Module qmake](https://github.com/Jarod42/premake-qmake) (fixed fork)
6161

62-
||gmakelegacy[^gmakelegacy]|gmake2|Codelite|Msvc vs2019|Msvc vs2022|xcode4|CodeBlocks|CMake|Ninja|qmake :information_source:[^qmake_premake_qt_incompatible]|
62+
||gmakelegacy:information_source:[^gmakelegacy]|gmake:information_source:[^game2]|Codelite|Msvc vs2019|Msvc vs2022|xcode4|CodeBlocks|CMake|Ninja|qmake :information_source:[^qmake_premake_qt_incompatible]|
6363
|:---|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
6464
||![qt gmake badge][20]|![qt gmake2 badge][21]|![qt Codelite badge][22]|![qt msvc badge][23]|![qt msvc badge][24]|![qt xcode badge][25]|![qt codeblocks badge][26]|![qt cmake badge][27]|![qt ninja badge][28]|![qt qmake badge][29]|
6565
|basic|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
@@ -69,8 +69,8 @@ Sample projects for integration testing [premake4/premake5](https://premake.gith
6969
|uic|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
7070

7171
[1]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-ubuntu-gmakelegacy.yml/badge.svg
72-
[2]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-ubuntu-gmake2.yml/badge.svg
73-
[3]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-windows-gmake2.yml/badge.svg
72+
[2]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-ubuntu-gmake.yml/badge.svg
73+
[3]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-windows-gmake.yml/badge.svg
7474
[4]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-ubuntu-codelite.yml/badge.svg
7575
[5]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-windows-msvc-2019.yml/badge.svg
7676
[6]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-windows-msvc-2022.yml/badge.svg
@@ -83,7 +83,7 @@ Sample projects for integration testing [premake4/premake5](https://premake.gith
8383
[13]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-ubuntu-qmake.yml/badge.svg
8484

8585
[20]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-qt-ubuntu-gmakelegacy.yml/badge.svg
86-
[21]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-qt-ubuntu-gmake2.yml/badge.svg
86+
[21]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-qt-ubuntu-gmake.yml/badge.svg
8787
[22]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-qt-ubuntu-codelite.yml/badge.svg
8888
[23]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-qt-windows-msvc-2019.yml/badge.svg
8989
[24]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-qt-windows-msvc-2022.yml/badge.svg
@@ -93,7 +93,8 @@ Sample projects for integration testing [premake4/premake5](https://premake.gith
9393
[28]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-qt-ubuntu-ninja.yml/badge.svg
9494
[29]:https://github.com/Jarod42/premake-sample-projects/actions/workflows/premake5-qt-ubuntu-qmake.yml/badge.svg
9595

96-
[^gmakelegacy]: :information_source: https://github.com/premake/premake-core/pull/2404 rename gmake into gmakelegacy
96+
[^gmakelegacy]: :information_source: https://github.com/premake/premake-core/pull/2404 renames gmake into gmakelegacy
97+
[^game2]: :information_source: https://github.com/premake/premake-core/pull/2408 renames gmake2 into gmake
9798
[^untested_by_ci]: :information_source: Not tested by the CI even if projects uses them.
9899
[^project_location]: :warning: project location != workspace/solution location unsupported though.
99100
[^objdir_extra]: :information_source: premake appends extra `$(configName)/$(AppName)`.

projects-qt/project-qt/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ end
5656
qtlreleaseargs { "-nounfinished" }
5757

5858
qtqmgenerateddir "%{cfg.targetdir}"
59-
if _ACTION == "gmakelegacy" or _ACTION == "gmake2" or _ACTION == "codeblocks" then
59+
if _ACTION == "gmakelegacy" or _ACTION == "gmake" or _ACTION == "codeblocks" then
6060
-- qrelease doesn't create intermediate directory
6161
-- and those actions don't create sub-directories neither for custombuild
6262
-- So do it as pre-build step

projects-qt/project-translation/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ end
4949
qtlreleaseargs { "-nounfinished" }
5050

5151
qtqmgenerateddir "%{cfg.targetdir}"
52-
if _ACTION == "gmakelegacy" or _ACTION == "gmake2" or _ACTION == "codeblocks" then
52+
if _ACTION == "gmakelegacy" or _ACTION == "gmake" or _ACTION == "codeblocks" then
5353
-- qrelease doesn't create intermediate directory
5454
-- and those actions don't create sub-directories neither for custombuild
5555
-- So do it as pre-build step

0 commit comments

Comments
 (0)