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

Update ci script to use latest os versions. #774

Merged
merged 3 commits into from
Nov 20, 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
49 changes: 17 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,34 @@ jobs:
strategy:
matrix:
include:
- name: "[Ubuntu] gcc-12"
os: ubuntu-22.04
CC: gcc-12
CXX: g++-12
- name: "[Ubuntu] gcc"
os: ubuntu-latest
CC: gcc
CXX: g++
CXXFLAGS: -Wno-maybe-uninitialized
FC: gfortran-12
GCOV: gcov-12
FC: gfortran
GCOV: gcov
OCCA_COVERAGE: 1
OCCA_FORTRAN_ENABLED: 1

- name: "[Ubuntu] CMake + gcc-12"
os: ubuntu-22.04
CC: gcc-12
CXX: g++-12
- name: "[Ubuntu] CMake + gcc"
os: ubuntu-latest
CC: gcc
CXX: g++
CXXFLAGS: -Wno-maybe-uninitialized -Wno-cpp
FC: gfortran-12
FC: gfortran
OCCA_FORTRAN_ENABLED: 1
useCMake: true

- name: "[Ubuntu] clang-14"
os: ubuntu-22.04
CC: clang-14
CXX: clang++-14
CXXFLAGS: -Wno-uninitialized
OCCA_COVERAGE: 0

- name: "[Ubuntu] clang-13"
os: ubuntu-22.04
CC: clang-13
CXX: clang++-13
- name: "[Ubuntu] CMake + clang"
os: ubuntu-latest
CC: clang
CXX: clang++
CXXFLAGS: -Wno-uninitialized
OCCA_COVERAGE: 0
useCMake: true

- name: "[Ubuntu] CMake + Intel/LLVM"
os: ubuntu-22.04
os: ubuntu-latest
CC: icx
CXX: icpx
CXXFLAGS: -Wno-uninitialized
Expand All @@ -61,12 +54,6 @@ jobs:
useCMake: true
useoneAPI: true

- name: "[MacOS] clang"
os: macos-12
CC: clang
CXX: clang++
CXXFLAGS: -Wno-uninitialized

runs-on: ${{ matrix.os }}
name: ${{ matrix.name }}

Expand Down Expand Up @@ -171,8 +158,6 @@ jobs:
run: |
ctest --test-dir build --progress --output-on-failure --parallel 8 --schedule-random -E "examples_cpp_arrays-opencl|examples_cpp_for_loops-opencl|examples_cpp_generic_inline_kernel-opencl|examples_cpp_shared_memory-opencl|examples_cpp_nonblocking_streams-opencl|examples_cpp_for_loops-dpcpp|examples_cpp_arrays-dpcpp|examples_cpp_generic_inline_kernel-dpcpp|examples_cpp_nonblocking_streams-dpcpp"



- name: Run CTests
if: ${{ matrix.useCMake && matrix.useoneAPI }}
env:
Expand Down