Skip to content

Create gzip compressed packages #1656

Create gzip compressed packages

Create gzip compressed packages #1656

Workflow file for this run

name: CMake (macOS)
on: [push, pull_request]
env:
BUILD_TYPE: RelWithDebInfo
BUILD_DIR: build
BUILD_NUMBER: ${{github.run_number}}
OPENSSL_ROOT_DIR: /usr/local/opt/[email protected]
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
QT_DIR: /usr/local/opt/qt6/lib/cmake/Qt6
QT_QPA_PLATFORM: offscreen
MAKEFLAGS: -j3
MACOSX_DEPLOYMENT_TARGET: 10.15
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install libraries
run: brew install web-eid/gtest/gtest qt@6
- name: Configure
run: cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -B ${BUILD_DIR} -S .
- name: Build
run: |
cmake --build ${BUILD_DIR} --config ${BUILD_TYPE}
cmake --build ${BUILD_DIR} --config ${BUILD_TYPE} --target installer
cmake --build ${BUILD_DIR} --config ${BUILD_TYPE} --target installer-safari
- name: Test
run: ctest -V -C ${BUILD_TYPE} --test-dir ${BUILD_DIR}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: web-eid-app-macos-build-${{github.run_number}}
path: |
build/*/*/*.pkg
build/*/*/*.dmg