Skip to content

Commit 61ce587

Browse files
authored
Adding a MacOS Release (#54)
* Update build_release.yml Altering this action to add a MacOS binary to the packaged releases. Create uniquely named zips per operating system.
1 parent adbc2ae commit 61ce587

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/build_release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ env:
1313

1414
jobs:
1515
build:
16+
strategy:
17+
matrix:
18+
os: [ubuntu-latest, macos-latest]
1619
name: Build Release
17-
runs-on: ubuntu-latest
20+
runs-on: ${{ matrix.os }}
1821
steps:
19-
- name: Ubuntu Checkout
22+
- name: Checkout
2023
uses: actions/checkout@v3
2124

2225
- name: Install Boost
@@ -39,13 +42,13 @@ jobs:
3942
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
4043

4144
- name: Install DataManagement
42-
run: cmake --install ${{github.workspace}}/build/ --prefix "dminstall"
45+
run: cmake --install ${{github.workspace}}/build/ --prefix "dminstall-${{ matrix.os }}"
4346

4447
- name: Zip DataManagement
4548
run: zip -r dminstall.zip "dminstall"
4649

4750
- name: Release and Upload
48-
run: gh release upload ${{github.event.release.tag_name}} dminstall.zip
51+
run: gh release upload ${{github.event.release.tag_name}} dminstall-${{ matrix.os }}.zip
4952
env:
5053
GITHUB_TOKEN: ${{ github.TOKEN }}
51-
shell: bash
54+
shell: bash

0 commit comments

Comments
 (0)