Skip to content

Commit

Permalink
Adjust build files for Omnis Studio 11
Browse files Browse the repository at this point in the history
  • Loading branch information
New Build authored and New Build committed Jun 13, 2024
1 parent afe63f4 commit 106e74c
Show file tree
Hide file tree
Showing 6 changed files with 392 additions and 286 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,19 @@ jobs:

- name: Get SDK (MacOS)
run: |
curl -O "ftp://ftp.omnis.net/OmnisStudio/Studio102_31315/SDK/osx64/OSX-SDK-10.2-31315.dmg"
hdiutil attach OSX-SDK-10.2-31315.dmg
cp -a /volumes/OSX-SDK-10.2-31315/OSX-SDK-10.2-31315/. thirdparty/omnis.sdk/mac/
hdiutil detach /volumes/OSX-SDK-10.2-31315
omnis_sdk=$(curl -s "https://filestore.omnis.net/omnisrestservlet/ws/5975/api/file_browser/browser/file?file=/OmnisStudio/Studio1100_36251/SDK/macOS-SDK-11-36251.dmg&browsertype=0&odppid=blank" | awk {'print $1'})
curl -O "$omnis_sdk"
hdiutil attach macOS-SDK-11-36251.dmg
cp -a /volumes/macOS-SDK-11-36251/macOS_SDK_11_36251/. thirdparty/omnis.sdk/mac/
hdiutil detach /volumes/macOS-SDK-11-36251
if: matrix.platform == 'macos'

- name: Get SDK (Windows)
run: |
curl -O "ftp://ftp.omnis.net/OmnisStudio/Studio102_31315/SDK/windows/Windows-SDK-10.2-31315-x86-x64.zip"
tar -xf Windows-SDK-10.2-31315-x86-x64.zip
xcopy /E /I Windows-SDK-10.2-31315-x86-x64\* thirdparty\omnis.sdk\win\
omnis_sdk=$(curl -s "https://filestore.omnis.net/omnisrestservlet/ws/5975/api/file_browser/browser/file?file=/OmnisStudio/Studio1100_36251/SDK/Windows-SDK-11-x64.zip&browsertype=0&odppid=blank" | awk {'print $1'})
curl -O "$omnis_sdk"
tar -xf Windows-SDK-11-x64.zip
xcopy /E /I Windows-SDK-11-x64\* thirdparty\omnis.sdk\win\
if: matrix.platform == 'windows'

- name: Build (MacOS)
Expand Down
2 changes: 2 additions & 0 deletions build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!.gitignore
9 changes: 9 additions & 0 deletions mac/prefix_d.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#define TESTVER 0
#define _DEBUG

#define mach_o_unicode
#define isunicode
#define UNICODE
#define _UNICODE

#include "carbnuni.h"
8 changes: 8 additions & 0 deletions mac/prefix_r.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#define TESTVER 0

#define mach_o_unicode
#define isunicode
#define UNICODE
#define _UNICODE

#include "carbnuni.h"
Loading

0 comments on commit 106e74c

Please sign in to comment.