Skip to content

Commit

Permalink
Update github_action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ihhub authored Mar 17, 2024
1 parent 644549d commit 327b64e
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/github_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-ubuntu:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
Expand All @@ -21,6 +21,24 @@ 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
run: mkdir build && cd build && cmake ..
- 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
env:
# TODO: remove this disabled option. It was added due to libpng error:
# libpng warning: Application built with libpng-1.4.12 but running with 1.6.42
PENGUINV_ENABLE_PNG_SUPPORT: OFF
python_on_windows:
runs-on: windows-latest
strategy:
Expand Down

0 comments on commit 327b64e

Please sign in to comment.