Skip to content

Commit

Permalink
Update build workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
coopeeo authored May 20, 2024
1 parent f5bab47 commit b51b240
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ jobs:

- name: macOS
os: macos-latest

- name: Android32

- name: iOS
os: ubuntu-latest
target: iOS

- name: Android 32-bit
os: ubuntu-latest
target: Android32

- name: Android64
- name: Android 64-bit
os: ubuntu-latest
target: Android64

Expand All @@ -38,10 +42,10 @@ jobs:
- uses: actions/checkout@v4

- name: Build the mod
uses: geode-sdk/build-geode-mod@main
uses: RoootTheFox/build-geode-mod@main
with:
combine: true
#sdk: nightly
sdk: nightly
target: ${{ matrix.config.target }}

package:
Expand All @@ -50,7 +54,7 @@ jobs:
needs: ['build']

steps:
- uses: geode-sdk/build-geode-mod@combine
- uses: RoootTheFox/build-geode-mod@combine
id: build

- uses: actions/upload-artifact@v3
Expand Down
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ set(CMAKE_CXX_VISIBILITY_PRESET hidden)

project(click-sound VERSION 1.0.0)

if(${GEODE_TARGET_PLATFORM} STREQUAL "iOS" OR IOS)
message(STATUS "building for ios :3")
unset(CMAKE_OSX_ARCHITECTURES)
set(CMAKE_OSX_ARCHITECTURES arm64)
set(CMAKE_OSX_DEPLOYMENT_TARGET "14.0")
set(CMAKE_SYSTEM_NAME "iOS")
endif()

# Add Everything under src dir
file(GLOB_RECURSE SOURCES src/*.cpp)

Expand Down
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"geode": "2.0.0-beta.22",
"geode": "2.0.0-beta.26",
"version": "v2.0.0-alpha.2",
"id": "beat.click-sound",
"name": "Click Sounds",
Expand Down

0 comments on commit b51b240

Please sign in to comment.