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 22, 2024
1 parent 964e3c6 commit 4c45d8d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/mac-compatability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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

0 comments on commit 4c45d8d

Please sign in to comment.