Skip to content

Commit

Permalink
Format Github workflow definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-rapp committed Nov 11, 2023
1 parent 4b370bb commit a4a33fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ jobs:
brew link libomp --force
- name: Install OpenCL
if: matrix.os == 'macos-latest'
run: |
brew install opencl-clhpp-headers
run: brew install opencl-clhpp-headers
- name: Prepare MSVC
if: matrix.os == 'windows-latest'
uses: ilammy/msvc-dev-cmd@v1
Expand Down
24 changes: 8 additions & 16 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,19 @@ jobs:
sudo apt update
sudo apt install -y opencl-headers ocl-icd-opencl-dev
- name: Install GoogleTest
run: |
sudo apt install -y googletest
run: sudo apt install -y googletest
- name: Compile via GCC
run: |
./build compile
run: ./build compile
- name: Test C++ code
run: |
./build tests_cpp
run: ./build tests_cpp
- name: Test Python code
run: |
./build tests_python
run: ./build tests_python
- name: Install Doxygen
uses: ssciwr/doxygen-install@v1
- name: Install Roboto font
run: |
sudo apt install -y fonts-roboto
run: sudo apt install -y fonts-roboto
- name: Generate Documentation
run: |
./build doc
run: ./build doc
macos_build:
name: Test MacOS build
runs-on: macos-latest
Expand All @@ -55,11 +49,9 @@ jobs:
brew install libomp
brew link libomp --force
- name: Install OpenCL
run: |
brew install opencl-clhpp-headers
run: brew install opencl-clhpp-headers
- name: Compile via Clang
run: |
TEST_SUPPORT=disabled CPLUS_INCLUDE_PATH=/usr/local/opt/opencl-clhpp-headers/include ./build compile
run: TEST_SUPPORT=disabled CPLUS_INCLUDE_PATH=/usr/local/opt/opencl-clhpp-headers/include ./build compile
windows_build:
name: Test Windows build
runs-on: windows-latest
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Check C++ code style
run: |
./build test_format_cpp
run: ./build test_format_cpp
- name: Check Python code style
run: |
./build test_format_python
run: ./build test_format_python

0 comments on commit a4a33fe

Please sign in to comment.