diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index eb0b497..7471246 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: true
matrix:
- os: [ubuntu-latest, windows-latest]
+ os: [ubuntu-latest, windows-latest, macos-latest]
build_type: [Release]
c_compiler: [gcc, cl]
include:
@@ -21,11 +21,15 @@ jobs:
c_compiler: cl
- os: ubuntu-latest
c_compiler: gcc
+ - os: macos-latest
+ c_compiler: gcc
exclude:
- os: windows-latest
c_compiler: gcc
- os: ubuntu-latest
c_compiler: cl
+ - os: macos-latest
+ c_compiler: cl
steps:
- uses: actions/checkout@v3
@@ -66,10 +70,11 @@ jobs:
- name: Bundle
run: |
- mv build/libfactorio_linux_x86_64.so libplugin.so
mv build/Release/plugin.dll plugin.dll
+ mv build/libfactorio_linux_x86_64.so libplugin.so
+ mv build/libfactorio_macos_x86_64.dylib libplugin.dylib
mv mumble/manifest.xml manifest.xml
- zip -MM factorio.mumble_plugin manifest.xml libplugin.so plugin.dll
+ zip -MM factorio.mumble_plugin manifest.xml plugin.dll libplugin.so libplugin.dylib
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9402d85..4e62a01 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: true
matrix:
- os: [ubuntu-latest, windows-latest]
+ os: [ubuntu-latest, windows-latest, macos-latest]
build_type: [Release]
c_compiler: [gcc, cl]
include:
@@ -37,11 +37,15 @@ jobs:
c_compiler: cl
- os: ubuntu-latest
c_compiler: gcc
+ - os: macos-latest
+ c_compiler: gcc
exclude:
- os: windows-latest
c_compiler: gcc
- os: ubuntu-latest
c_compiler: cl
+ - os: macos-latest
+ c_compiler: cl
steps:
- uses: actions/checkout@v3
@@ -82,10 +86,11 @@ jobs:
- name: Bundle
run: |
- mv build/libfactorio_linux_x86_64.so libplugin.so
mv build/Release/plugin.dll plugin.dll
+ mv build/libfactorio_linux_x86_64.so libplugin.so
+ mv build/libfactorio_macos_x86_64.dylib libplugin.dylib
mv mumble/manifest.xml manifest.xml
- zip -MM factorio.mumble_plugin manifest.xml libplugin.so plugin.dll
+ zip -MM factorio.mumble_plugin manifest.xml plugin.dll libplugin.so libplugin.dylib
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
diff --git a/mumble/manifest.xml b/mumble/manifest.xml
index 0a581c2..febe73c 100644
--- a/mumble/manifest.xml
+++ b/mumble/manifest.xml
@@ -3,6 +3,7 @@
plugin.dll
libplugin.so
+ libplugin_mac.so
Factorio Positional Audio
1.1.0