Skip to content

Commit

Permalink
add macos CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-0 committed Oct 17, 2024
1 parent 54f2dc8 commit b8ee686
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/mac-compatability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# GitHub Actions for genCMPClient
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) Siemens AG, 2021-2024

name: macos-CI

on: push

jobs:
cmake:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: cmake
run: |
cmake .
make
mkdir build
cd build
cmake -S .. -B .
cmake --build .
cmake -DCMAKE_BUILD_TYPE=Release ..
make clean build
cd ..
mkdir build-with-libcmp
cd build-with-libcmp
USE_LIBCMP=1 cmake -S .. -B .
make clean build
DESTDIR=tmp make install uninstall
make deb

0 comments on commit b8ee686

Please sign in to comment.