Skip to content

Commit

Permalink
In theory, mac signed dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Dec 24, 2024
1 parent 626b929 commit bf58bcc
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
if: runner.os == 'macOS'
run: sudo xcode-select -switch /Applications/Xcode_15.1.app

#- uses: apple-actions/import-codesign-certs@v3
# if: runner.os == 'macOS' && github.event_name != 'pull_request'
# with:
# p12-file-base64: ${{ secrets.MAC_CERTS_P12 }}
# p12-password: ${{ secrets.CERT_PWD }}
- uses: apple-actions/import-codesign-certs@v3
if: runner.os == 'macOS' && github.event_name != 'pull_request'
with:
p12-file-base64: ${{ secrets.MAC_CERTS_P12 }}
p12-password: ${{ secrets.CERT_PWD }}

- name: Install Linux Deps; pick GCC12
if: runner.os == 'Linux'
Expand All @@ -65,14 +65,6 @@ jobs:
- name: Build release version
if: github.event_name != 'pull_request'
run: |
#export MAC_SIGNING_CERT="${{ secrets.MAC_SIGNING_CERT_NAME }}"
#export MAC_INSTALLING_CERT="${{ secrets.MAC_INSTALLING_CERT_NAME }}"
#export MAC_SIGNING_ID="${{ secrets.MAC_SIGNING_ID }}"
#export MAC_SIGNING_1UPW="${{ secrets.MAC_SIGNING_1UPW }}"
#export MAC_SIGNING_TEAM="${{ secrets.MAC_SIGNING_TEAM }}"

cmake -S . -B ./build ${{ matrix.cmake_args }} -DCMAKE_BUILD_TYPE=Release
cmake --build ./build --config Release --target six-sines_all --parallel 3
Expand Down Expand Up @@ -102,8 +94,17 @@ jobs:
- name: Make Mac
if: github.event_name != 'pull_request' && runner.os == 'macOS'
run: |
export MAC_SIGNING_CERT="${{ secrets.MAC_SIGNING_CERT_NAME }}"
export MAC_INSTALLING_CERT="${{ secrets.MAC_INSTALLING_CERT_NAME }}"
export MAC_SIGNING_ID="${{ secrets.MAC_SIGNING_ID }}"
export MAC_SIGNING_1UPW="${{ secrets.MAC_SIGNING_1UPW }}"
export MAC_SIGNING_TEAM="${{ secrets.MAC_SIGNING_TEAM }}"
mkdir build/inst
date > build/inst/macos-build-coming-soon.txt
cd build
../libs/sst/sst-plugininfra/scripts/installer_mac/make_installer.sh "Six Sines" . ../resources inst `git rev-parse --short HEAD`
- name: Configure pull request version
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit bf58bcc

Please sign in to comment.