Skip to content

Commit c4504e1

Browse files
authored
Refactor GitHub Actions workflow for build jobs
1 parent 8824724 commit c4504e1

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ env:
3535
run-name: 'build@c++${{ inputs.cxxstd || 20 }}'
3636

3737
jobs:
38-
win32-ogl:
38+
win32:
3939
runs-on: windows-latest
4040
steps:
4141
- uses: actions/checkout@v6
@@ -52,33 +52,33 @@ jobs:
5252
axmol -d .\HelloCpp -xc '-DAX_PREBUILT_DIR=build' -O3
5353
- uses: actions/upload-artifact@v6
5454
with:
55-
name: windows_ogl_x64
55+
name: windows_v2_x64
5656
path: |
5757
build/bin/cpp-tests/**/*
58-
winuwp-ogl:
58+
winuwp:
5959
runs-on: windows-latest
6060
steps:
6161
- uses: actions/checkout@v6
6262

6363
- name: Build
6464
shell: pwsh
6565
run: .\tools\cmdline\axmol -p winuwp -a x64 -O3
66-
win32-clang-ogl:
66+
win32-clang:
6767
runs-on: windows-latest
6868
steps:
6969
- uses: actions/checkout@v6
7070

7171
- name: Build
7272
shell: pwsh
7373
run: .\tools\cmdline\axmol -p win32 -a 'x64' -cc clang -O3
74-
win32-dll-ogl:
74+
win32-dll:
7575
runs-on: windows-latest
7676
steps:
7777
- uses: actions/checkout@v6
7878
- name: Build
7979
shell: pwsh
8080
run: .\tools\cmdline\axmol -p win32 -a x64 -dll
81-
linux-ogl:
81+
linux:
8282
runs-on: ubuntu-latest
8383
steps:
8484
- uses: actions/checkout@v6
@@ -113,7 +113,7 @@ jobs:
113113
- name: Build
114114
shell: pwsh
115115
run: ./tools/cmdline/axmol -p osx -a x64
116-
android-ogl:
116+
android:
117117
runs-on: ubuntu-latest
118118
strategy:
119119
matrix:
@@ -134,7 +134,7 @@ jobs:
134134
./tools/cmdline/axmol -p android -a $env:BUILD_ARCH
135135
- uses: actions/upload-artifact@v6
136136
with:
137-
name: android_${{ matrix.arch }}
137+
name: android_v2_${{ matrix.arch }}
138138
path: |
139139
tests/**/outputs/**/*.apk
140140
ios-sim-x64:

0 commit comments

Comments
 (0)