@@ -44,17 +44,20 @@ jobs:
4444 ctest --test-dir build --output-on-failure
4545
4646 - name : Upload Build Artifact
47- if : matrix.os == 'ubuntu-latest' && matrix. build_type == 'Release'
47+ if : matrix.build_type == 'Release'
4848 uses : actions/upload-artifact@v4
4949 with :
50- name : build-linux
50+ name : build-${{ matrix.os }}
5151 path : build/
5252 retention-days : 1
5353
5454 build-conan-package :
5555 needs : build
5656 name : Build Conan Package
57- runs-on : ubuntu-latest
57+ runs-on : ${{ matrix.os }}
58+ strategy :
59+ matrix :
60+ os : [ubuntu-latest, macos-latest]
5861
5962 steps :
6063 - uses : actions/checkout@v4
6669 - name : Download Build Artifacts
6770 uses : actions/download-artifact@v4
6871 with :
69- name : build-linux
72+ name : build-${{ matrix.os }}
7073 path : build/
7174
7275 - name : Determine version
@@ -83,11 +86,11 @@ jobs:
8386
8487 - name : Export Conan package
8588 run : |
86- conan cache save "real-time-monitor/${{ env.PKG_VERSION }}:*" --file real-time-monitor-${{ env.PKG_VERSION }}-linux-x86_64 .tgz
89+ conan cache save "real-time-monitor/${{ env.PKG_VERSION }}:*" --file real-time-monitor-${{ env.PKG_VERSION }}-${{ matrix.os }} .tgz
8790
8891 - name : Upload Conan package artifact
8992 uses : actions/upload-artifact@v4
9093 with :
91- name : conan-package
92- path : real-time-monitor-${{ env.PKG_VERSION }}-linux-x86_64 .tgz
94+ name : conan-package-${{ matrix.os }}
95+ path : real-time-monitor-${{ env.PKG_VERSION }}-${{ matrix.os }} .tgz
9396 if-no-files-found : error
0 commit comments