Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/build_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ name: Android (arm64-v8a, API level 33)

on:
push:
branches:
- "*"
tags:
- "*"

pull_request:
branches:
- "*"

jobs:
build-shared:
Expand All @@ -19,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Install Packages
run: |
Expand All @@ -43,8 +35,8 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: projectm-android-shared-latest
path: install/*
name: projectm-android-shared-latest
path: install/*

build-static:
name: Static Library
Expand All @@ -53,7 +45,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Install Packages
run: |
Expand Down
24 changes: 7 additions & 17 deletions .github/workflows/build_emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ name: Emscripten

on:
push:
branches:
- "*"
tags:
- "*"

pull_request:
branches:
- "*"

jobs:
build:
Expand All @@ -19,17 +11,17 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v13
uses: mymindstorm/setup-emsdk@v14
with:
# Make sure to set a version number!
version: 3.1.53
# This is the name of the cache folder.
# The cache folder will be placed in the build directory,
# so make sure it doesn't conflict with anything!
actions-cache-folder: 'emsdk-cache'
actions-cache-folder: "emsdk-cache"

- name: Verify EMSDK
run: emcc -v
Expand All @@ -52,18 +44,16 @@ jobs:

# - name: Run Unit Tests
# run: ctest --test-dir "${{ github.workspace }}/cmake-build" --verbose --build-config "Debug"

# - name: Build Release
# run: emcmake cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --parallel

- name: Install
run: |
cd "${{ github.workspace }}/cmake-build" && emmake make install

# emcmake cmake --build "${{ github.workspace }}/cmake-build" --config "Release" --target install

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: projectm-emscripten-static-latest
path: install/*
name: projectm-emscripten-static-latest
path: install/*
16 changes: 4 additions & 12 deletions .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ name: Ubuntu Linux (x86_64)

on:
push:
branches:
- "*"
tags:
- "*"

pull_request:
branches:
- "*"

jobs:
build-shared:
Expand All @@ -19,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Install Packages
run: |
Expand All @@ -46,8 +38,8 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: projectm-linux-shared-latest
path: install/*
name: projectm-linux-shared-latest
path: install/*

build-static:
name: Static Library
Expand All @@ -56,7 +48,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Install Packages
run: |
Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/build_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ name: macOS (x86_64)

on:
push:
branches:
- "*"
tags:
- "*"

pull_request:
branches:
- "*"

jobs:
build-shared:
Expand All @@ -19,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Install Packages
run: brew install sdl2 ninja googletest
Expand All @@ -44,8 +36,8 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: projectm-osx-shared-latest
path: install/*
name: projectm-osx-shared-latest
path: install/*

build-static:
name: Static Library
Expand All @@ -54,7 +46,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Install Packages
run: brew install sdl2 ninja googletest
Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ name: Windows (x64)

on:
push:
branches:
- "*"
tags:
- "*"

pull_request:
branches:
- "*"

jobs:
build-shared:
Expand All @@ -19,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Configure Build (MD)
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
Expand All @@ -41,8 +33,8 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: projectm-windows-shared-latest
path: install/*
name: projectm-windows-shared-latest
path: install/*

build-static:
name: Static Library
Expand All @@ -51,7 +43,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
submodules: "recursive"

- name: Configure Build (MD)
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
Expand Down
Loading
Loading