Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macOS compilation as a part of GitHub actions #698

Merged
merged 8 commits into from
Mar 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/github_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-ubuntu:
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -21,6 +21,23 @@ jobs:
run: cmake --build build --config Release -- -j 2
- name: Run tests
run: cd build && ctest -E 'perf_test' --extra-verbose # execute unit_test and unit_test_opencl
build-macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- name: Configure
# TODO: remove these disabled options. It was added due to compilation errors:
# - libpng warning: Application built with libpng-1.4.12 but running with 1.6.42
# - /Users/runner/work/penguinV/penguinV/src/file/jpeg_image.cpp:76:10: fatal error: 'jerror.h' file not found
run: mkdir build && cd build && cmake -DPENGUINV_ENABLE_PNG_SUPPORT=OFF -DPENGUINV_ENABLE_JPEG_SUPPORT=OFF ..
- name: Build
run: cmake --build build --config Release -- -j 2
- name: Run tests
run: cd build && ctest -E 'perf_test' --extra-verbose # execute unit_test and unit_test_opencl
python_on_windows:
runs-on: windows-latest
strategy:
Expand Down
Loading