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 Jan 24, 2025
1 parent 905ad55 commit b5840ef
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# GitHub Actions for genCMPClient
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) Siemens AG, 2021-2024

name: macOS

on: push

jobs:
cmake:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: make
run: |
make -f Makefile_v1
./cmpClient -help
# make -f Makefile_v1 test_Mock # TODO add after solving issue with CMP HTTP server hanging on startup
make -f Makefile_v1 clean_all
- name: cmake
run: |
mkdir build
cd build
cmake -S .. -B .
cmake --build .
cmake -DCMAKE_BUILD_TYPE=Release ..
make
./cmpClient -help
cd ..
mkdir build-with-libcmp
cd build-with-libcmp
USE_LIBCMP=1 cmake -S .. -B .
make
./cmpClient -help
DESTDIR=tmp make install uninstall # implies "make build"
make clean_all

0 comments on commit b5840ef

Please sign in to comment.