Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mfep committed May 23, 2024
1 parent abeb3cf commit afc8c63
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
--binary clang-format

linux:
if: false
runs-on: ubuntu-latest
needs: format
defaults:
Expand Down Expand Up @@ -289,6 +290,7 @@ jobs:
pkg-config OpenCL-CLHPP --cflags | grep -q "\-I$GITHUB_WORKSPACE/install/include"

windows:
if: false
runs-on: windows-latest
needs: format
defaults:
Expand Down Expand Up @@ -652,26 +654,26 @@ jobs:
strategy:
matrix:
COMPILER:
- C_NAME: /usr/bin/clang
CXX_NAME: /usr/bin/clang++
- C_NAME: gcc-11
CXX_NAME: g++-11
# - C_NAME: /usr/bin/clang
# CXX_NAME: /usr/bin/clang++
# - C_NAME: gcc-11
# CXX_NAME: g++-11
- C_NAME: gcc-13
CXX_NAME: g++-13
GEN:
- Xcode
# - Xcode
- Ninja Multi-Config
CXXSTD: [11, 17]
exclude:
CXXSTD: [11]
# exclude:
# These entries are excluded, since XCode selects its own compiler
- COMPILER:
C_NAME: gcc-11
CXX_NAME: g++-11
GEN: Xcode
- COMPILER:
C_NAME: gcc-13
CXX_NAME: g++-13
GEN: Xcode
# - COMPILER:
# C_NAME: gcc-11
# CXX_NAME: g++-11
# GEN: Xcode
# - COMPILER:
# C_NAME: gcc-13
# CXX_NAME: g++-13
# GEN: Xcode
env:
CC: ${{matrix.COMPILER.C_NAME}}
CXX: ${{matrix.COMPILER.CXX_NAME}}
Expand Down Expand Up @@ -702,6 +704,7 @@ jobs:
if [[ "${{matrix.GEN}}" == "Ninja Multi-Config" && ! `which ninja` ]]; then brew install ninja; fi &&
if [[ ! `which pkg-config` ]]; then brew install pkg-config; fi;
cmake --version
if [[ "${{matrix.COMPILER.C_NAME}}" == "gcc-13" ]]; then echo 'CXXFLAGS="$CXXFLAGS -ld_classic"' >> "$GITHUB_ENV"; fi;
- name: Build & install OpenCL-Headers
run: cmake
Expand Down Expand Up @@ -784,6 +787,7 @@ jobs:
pkg-config OpenCL-CLHPP --cflags | grep -q "\-I$GITHUB_WORKSPACE/external/OpenCL-Headers/install/include"
android:
if: false
runs-on: ubuntu-latest
needs: format
defaults:
Expand Down

0 comments on commit afc8c63

Please sign in to comment.