Skip to content

Commit c3fe6c0

Browse files
committed
New release automation
1 parent f3d6cca commit c3fe6c0

File tree

6 files changed

+227
-65
lines changed

6 files changed

+227
-65
lines changed

.github/workflows/build_android.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ name: Android (arm64-v8a, API level 33)
22

33
on:
44
push:
5-
branches:
6-
- "*"
7-
tags:
8-
- "*"
9-
10-
pull_request:
11-
branches:
12-
- "*"
135

146
jobs:
157
build-shared:
@@ -19,7 +11,7 @@ jobs:
1911
steps:
2012
- uses: actions/checkout@v4
2113
with:
22-
submodules: 'recursive'
14+
submodules: "recursive"
2315

2416
- name: Install Packages
2517
run: |
@@ -43,8 +35,8 @@ jobs:
4335
- name: Upload Artifact
4436
uses: actions/upload-artifact@v4
4537
with:
46-
name: projectm-android-shared-latest
47-
path: install/*
38+
name: projectm-android-shared-latest
39+
path: install/*
4840

4941
build-static:
5042
name: Static Library
@@ -53,7 +45,7 @@ jobs:
5345
steps:
5446
- uses: actions/checkout@v4
5547
with:
56-
submodules: 'recursive'
48+
submodules: "recursive"
5749

5850
- name: Install Packages
5951
run: |

.github/workflows/build_emscripten.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ name: Emscripten
22

33
on:
44
push:
5-
branches:
6-
- "*"
7-
tags:
8-
- "*"
9-
10-
pull_request:
11-
branches:
12-
- "*"
135

146
jobs:
157
build:
@@ -19,17 +11,17 @@ jobs:
1911
steps:
2012
- uses: actions/checkout@v4
2113
with:
22-
submodules: 'recursive'
23-
14+
submodules: "recursive"
15+
2416
- name: Setup emsdk
25-
uses: mymindstorm/setup-emsdk@v13
17+
uses: mymindstorm/setup-emsdk@v14
2618
with:
2719
# Make sure to set a version number!
2820
version: 3.1.53
2921
# This is the name of the cache folder.
3022
# The cache folder will be placed in the build directory,
3123
# so make sure it doesn't conflict with anything!
32-
actions-cache-folder: 'emsdk-cache'
24+
actions-cache-folder: "emsdk-cache"
3325

3426
- name: Verify EMSDK
3527
run: emcc -v
@@ -52,18 +44,16 @@ jobs:
5244

5345
# - name: Run Unit Tests
5446
# run: ctest --test-dir "${{ github.workspace }}/cmake-build" --verbose --build-config "Debug"
55-
5647
# - name: Build Release
5748
# run: emcmake cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --parallel
58-
5949
- name: Install
6050
run: |
6151
cd "${{ github.workspace }}/cmake-build" && emmake make install
62-
52+
6353
# emcmake cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --target install
6454

6555
- name: Upload Artifact
6656
uses: actions/upload-artifact@v4
6757
with:
68-
name: projectm-emscripten-static-latest
69-
path: install/*
58+
name: projectm-emscripten-static-latest
59+
path: install/*

.github/workflows/build_linux.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ name: Ubuntu Linux (x86_64)
22

33
on:
44
push:
5-
branches:
6-
- "*"
7-
tags:
8-
- "*"
9-
10-
pull_request:
11-
branches:
12-
- "*"
135

146
jobs:
157
build-shared:
@@ -19,7 +11,7 @@ jobs:
1911
steps:
2012
- uses: actions/checkout@v4
2113
with:
22-
submodules: 'recursive'
14+
submodules: "recursive"
2315

2416
- name: Install Packages
2517
run: |
@@ -46,8 +38,8 @@ jobs:
4638
- name: Upload Artifact
4739
uses: actions/upload-artifact@v4
4840
with:
49-
name: projectm-linux-shared-latest
50-
path: install/*
41+
name: projectm-linux-shared-latest
42+
path: install/*
5143

5244
build-static:
5345
name: Static Library
@@ -56,7 +48,7 @@ jobs:
5648
steps:
5749
- uses: actions/checkout@v4
5850
with:
59-
submodules: 'recursive'
51+
submodules: "recursive"
6052

6153
- name: Install Packages
6254
run: |

.github/workflows/build_osx.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ name: macOS (x86_64)
22

33
on:
44
push:
5-
branches:
6-
- "*"
7-
tags:
8-
- "*"
9-
10-
pull_request:
11-
branches:
12-
- "*"
135

146
jobs:
157
build-shared:
@@ -19,7 +11,7 @@ jobs:
1911
steps:
2012
- uses: actions/checkout@v4
2113
with:
22-
submodules: 'recursive'
14+
submodules: "recursive"
2315

2416
- name: Install Packages
2517
run: brew install sdl2 ninja googletest
@@ -44,8 +36,8 @@ jobs:
4436
- name: Upload Artifact
4537
uses: actions/upload-artifact@v4
4638
with:
47-
name: projectm-osx-shared-latest
48-
path: install/*
39+
name: projectm-osx-shared-latest
40+
path: install/*
4941

5042
build-static:
5143
name: Static Library
@@ -54,7 +46,7 @@ jobs:
5446
steps:
5547
- uses: actions/checkout@v4
5648
with:
57-
submodules: 'recursive'
49+
submodules: "recursive"
5850

5951
- name: Install Packages
6052
run: brew install sdl2 ninja googletest

.github/workflows/build_windows.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@ name: Windows (x64)
22

33
on:
44
push:
5-
branches:
6-
- "*"
7-
tags:
8-
- "*"
9-
10-
pull_request:
11-
branches:
12-
- "*"
135

146
jobs:
157
build-shared:
@@ -19,7 +11,7 @@ jobs:
1911
steps:
2012
- uses: actions/checkout@v4
2113
with:
22-
submodules: 'recursive'
14+
submodules: "recursive"
2315

2416
- name: Configure Build (MD)
2517
run: cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}" -B "${{ github.workspace }}/cmake-build" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install" -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>DLL" -DCMAKE_VERBOSE_MAKEFILE=YES -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=YES
@@ -41,8 +33,8 @@ jobs:
4133
- name: Upload Artifact
4234
uses: actions/upload-artifact@v4
4335
with:
44-
name: projectm-windows-shared-latest
45-
path: install/*
36+
name: projectm-windows-shared-latest
37+
path: install/*
4638

4739
build-static:
4840
name: Static Library
@@ -51,7 +43,7 @@ jobs:
5143
steps:
5244
- uses: actions/checkout@v4
5345
with:
54-
submodules: 'recursive'
46+
submodules: "recursive"
5547

5648
- name: Configure Build (MD)
5749
run: cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}" -B "${{ github.workspace }}/cmake-build" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install" -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>" -DCMAKE_VERBOSE_MAKEFILE=YES -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=YES

0 commit comments

Comments
 (0)