Skip to content

Commit 04bb62c

Browse files
authored
Testing macos installation (#508)
1 parent e87e567 commit 04bb62c

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

.github/workflows/macos_install.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: macos (Installation)
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
paths-ignore:
7+
- '**.md'
8+
- 'docs/**'
9+
push:
10+
branches:
11+
- main
12+
paths-ignore:
13+
- '**.md'
14+
- 'docs/**'
15+
16+
permissions:
17+
contents: read
18+
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
23+
jobs:
24+
ubuntu-build:
25+
runs-on: macos-latest
26+
strategy:
27+
matrix:
28+
include:
29+
- {shared: ON}
30+
- {shared: OFF}
31+
steps:
32+
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
33+
- name: Prepare
34+
run: cmake -DBUILD_SHARED_LIBS=${{matrix.shared}} -DCMAKE_INSTALL_PREFIX:PATH=destination -B build
35+
- name: Build
36+
run: cmake --build build -j=2
37+
- name: Install
38+
run: cmake --install build
39+
- name: Prepare test package
40+
run: cmake -DCMAKE_INSTALL_PREFIX:PATH=../../destination -S tests/installation -B buildbabyada
41+
- name: Build test package
42+
run: cmake --build buildbabyada
43+
- name: Run example
44+
run: ./buildbabyada/main

cmake/ada-flags.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
5050
set(CMAKE_CXX_STANDARD 17)
5151
set(CMAKE_CXX_STANDARD_REQUIRED ON)
5252
set(CMAKE_CXX_EXTENSIONS OFF)
53-
set(CMAKE_MACOSX_RPATH OFF)
5453

5554
find_program(CCACHE_FOUND ccache)
5655
if(CCACHE_FOUND)

0 commit comments

Comments
 (0)