From 46b35fac3013e4010a9ee486746935728a6f24cf Mon Sep 17 00:00:00 2001 From: Luis Michaelis Date: Fri, 3 May 2024 16:29:04 +0200 Subject: [PATCH] ci: add MacOS build --- .github/workflows/build.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de6c596..e214088 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,6 +37,25 @@ jobs: with: name: 'ARM x64 Shared Object' path: 'build/libdmusic*' + macos: + name: "MacOS" + runs-on: 'macos-11' + steps: + - uses: 'actions/checkout@v3' + with: + submodules: 'recursive' + - uses: 'maxim-lobanov/setup-xcode@v1' + with: + xcode-version: 13 + - name: 'Configure' + run: 'cmake -B build -DCMAKE_BUILD_TYPE=Release' + - name: 'Build' + run: 'cmake --build build --config Release' + - name: 'Publish Library' + uses: 'actions/upload-artifact@v3' + with: + name: 'MacOS x86-64 DyLib' + path: 'build/libdmusic*' windows: name: "Windows" runs-on: 'windows-latest'