Skip to content

macOS Release Package #2

macOS Release Package

macOS Release Package #2

name: macOS Release Package
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake --preset gh-ubuntu-release
- name: Build
run: cmake --build ${{github.workspace}}/build/release/gh-ubuntu
- name: Test
working-directory: ${{github.workspace}}/build/release/gh-ubuntu
run: ctest
- name: Package
working-directory: ${{github.workspace}}/build/release/gh-ubuntu
run: cpack
- name: Archive Build Artifacts
uses: actions/upload-artifact@v3
with:
name: macos-13
path: |
${{github.workspace}}/build/release/gh-ubuntu/sac-format-?.?.?-Darwin-*.tar.gz*
${{github.workspace}}/build/release/gh-ubuntu/sac-format-?.?.?-Darwin-*.sh*
retention-days: 1