Skip to content

update readme and some updates #111

update readme and some updates

update readme and some updates #111

Workflow file for this run

name : Build
on:
push:
paths-ignore:
- 'docs/**'
- '.github/ISSUE_TEMPLATE/**'
- '.github/*.yml'
- 'LICENSE.txt'
- '*.md'
- '*.sh'
branches:
- master
- edge
pull_request:
branches:
- master
- edge
jobs:
ubuntu_2204_cc_matrix_no_cuda:
strategy:
fail-fast: false
matrix:
cxx: [17, 20]
build_type: ["RelWithDebInfo"]
compiler:
[
"g++-11",
"g++-10",
"clang++-11",
"clang++-12",
"clang++-13",
"clang++-14"
]
name: "Ubuntu 22.04 (${{ matrix.compiler }}, C++${{ matrix.cxx }}, ${{matrix.build_type}})"
runs-on: ubuntu-22.04
outputs:
id: "${{ matrix.compiler }} (C++${{ matrix.cxx }}, ${{ matrix.build_type }})"
steps:
- uses: actions/checkout@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "ccache-ubuntu2204_no_cuda-${{ matrix.compiler }}-${{ matrix.cxx }}-${{ matrix.build_type }}"
max-size: 256M
- name: "update APT database"
run: sudo apt -q update
- name: Install GCC 11
if: ${{ startsWith(matrix.compiler, 'g++-11') }}
run: sudo apt install -y g++-11
- name: Install GCC 10
if: ${{ startsWith(matrix.compiler, 'g++-10') }}
run: sudo apt install -y g++-10
- name: Install Clang 11
if: ${{ startsWith(matrix.compiler, 'clang++-11') }}
run: sudo apt install -y clang-11
- name: Install Clang 12
if: ${{ startsWith(matrix.compiler, 'clang++-12') }}
run: sudo apt install -y clang-12
- name: Install Clang 13
if: ${{ startsWith(matrix.compiler, 'clang++-13') }}
run: sudo apt install -y clang-13
- name: Install Clang 14
if: ${{ startsWith(matrix.compiler, 'clang++-14') }}
run: sudo apt install -y clang-14
- name: "Download dependencies"
run: sudo apt install cmake ninja-build
- name: "Cmake configure"
run: cmake --preset=prop-actions -S . -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_CXX_STANDARD=${{ matrix.cxx }} -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
- name: "build "
run: cmake --build build/ --target "pyprop;prop_test" -- -j3
ubuntu_2004_cc_matrix_no_cuda:
strategy:
fail-fast: false
matrix:
cxx: [17]
build_type: ["RelWithDebInfo"]
compiler:
[
"g++",
"clang++"
]
name: "Ubuntu 20.04 (${{ matrix.compiler }}, C++${{ matrix.cxx }}, ${{matrix.build_type}})"
runs-on: ubuntu-20.04
outputs:
id: "${{ matrix.compiler }} (C++${{ matrix.cxx }}, ${{ matrix.build_type }})"
steps:
- uses: actions/checkout@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "ccache-ubuntu2004_no_cuda-${{ matrix.compiler }}-${{ matrix.cxx }}-${{ matrix.build_type }}"
max-size: 256M
- name: "update APT database"
run: sudo apt -q update
- name: Install GCC
if: ${{ startsWith(matrix.compiler, 'g++') }}
run: sudo apt install -y g++
- name: Install Clang
if: ${{ startsWith(matrix.compiler, 'clang++') }}
run: sudo apt install -y clang
- name: "Download dependencies"
run: sudo apt install cmake ninja-build
- name: "Cmake configure"
run: cmake --preset=prop-actions -S . -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_CXX_STANDARD=${{ matrix.cxx }} -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
- name: "build "
run: cmake --build build/ --target "pyprop;prop_test" -- -j3
ubuntu_2204_cc_matrix_cuda:
strategy:
fail-fast: false
matrix:
cxx: [17, 20]
build_type: ["Debug", "RelWithDebInfo"]
compiler:
[
"g++-11"
]
name: "Ubuntu 22.04 CUDA (${{ matrix.compiler }}, C++${{ matrix.cxx }}, ${{matrix.build_type}})"
runs-on: ubuntu-22.04
outputs:
id: "${{ matrix.compiler }} (C++${{ matrix.cxx }}, ${{ matrix.build_type }})"
steps:
- uses: actions/checkout@v3
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: "ccache-ubuntu2204_cuda-${{ matrix.compiler }}-${{ matrix.cxx }}-${{ matrix.build_type }}"
max-size: 256M
- uses: Jimver/cuda-toolkit@v0.2.10
id: cuda-toolkit
with:
cuda: '12.1.0'
- name: "update APT database"
run: sudo apt -q update
- name: Install GCC 11
if: ${{ startsWith(matrix.compiler, 'g++-11') }}
run: sudo apt install -y g++-11
- name: "Download dependencies"
run: sudo apt install cmake ninja-build
- name: "Cmake configure"
run: cmake --preset=prop-cuda-actions -S . -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_CXX_STANDARD=${{ matrix.cxx }} -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
- name: "build "
run: cmake --build build/ --target "pyprop" -- -j3