docs: Move to Sphinx based generation #435
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ubuntu OpenMP | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
Ubuntu-2004: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
CXX: [g++, clang++] | |
BuildType: [Debug, Release] | |
SharedLibs: [ON, OFF] | |
Use32BitIndex: [ON, OFF] | |
include: | |
- CXX: g++ | |
CC: gcc | |
- CXX: clang++ | |
CC: clang | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install OpenMP | |
shell: bash | |
run: | | |
bash scripts/utils/install_openmp_ubuntu.sh | |
- name: Download dependencies | |
shell: bash | |
run: | | |
bash scripts/utils/download_dependencies.sh | |
- name: Set C/C++ compiler | |
shell: bash | |
run: | | |
bash scripts/utils/set_cxx_compiler_ubuntu.sh ${{ matrix.CC }} ${{ matrix.CXX }} | |
- name: Configure project | |
shell: bash | |
run: | | |
bash scripts/ci/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }} | |
- name: Build project | |
shell: bash | |
run: | | |
bash scripts/build.sh ${{ matrix.BuildType }} | |
- name: Run tests | |
shell: bash | |
run: | | |
bash scripts/run_tests.sh ${{ matrix.BuildType }} | |
- name: Verify headers | |
shell: bash | |
run: | | |
bash scripts/utils/verify_headers.sh | |
- name: Install project | |
shell: bash | |
run: | | |
bash scripts/install.sh ${{ matrix.BuildType }} | |
- name: Check linking to installed project | |
shell: bash | |
run: | | |
bash scripts/ci/check_install_openmp.sh ${{ matrix.BuildType }} | |
- name: Uninstall project | |
shell: bash | |
run: | | |
bash scripts/uninstall.sh ${{ matrix.BuildType }} | |
Ubuntu-2204: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
CXX: [g++, clang++] | |
BuildType: [Debug, Release] | |
SharedLibs: [ON, OFF] | |
Use32BitIndex: [ON, OFF] | |
include: | |
- CXX: g++ | |
CC: gcc | |
- CXX: clang++ | |
CC: clang | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install OpenMP | |
shell: bash | |
run: | | |
bash scripts/utils/install_openmp_ubuntu.sh | |
- name: Download dependencies | |
shell: bash | |
run: | | |
bash scripts/utils/download_dependencies.sh | |
- name: Set C/C++ compiler | |
shell: bash | |
run: | | |
bash scripts/utils/set_cxx_compiler_ubuntu.sh ${{ matrix.CC }} ${{ matrix.CXX }} | |
- name: Configure project | |
shell: bash | |
run: | | |
bash scripts/ci/configure_openmp.sh ${{ matrix.BuildType }} -DSTDGPU_BUILD_SHARED_LIBS=${{ matrix.SharedLibs }} -DSTDGPU_USE_32_BIT_INDEX=${{ matrix.Use32BitIndex }} | |
- name: Build project | |
shell: bash | |
run: | | |
bash scripts/build.sh ${{ matrix.BuildType }} | |
- name: Run tests | |
shell: bash | |
run: | | |
bash scripts/run_tests.sh ${{ matrix.BuildType }} | |
- name: Verify headers | |
shell: bash | |
run: | | |
bash scripts/utils/verify_headers.sh | |
- name: Install project | |
shell: bash | |
run: | | |
bash scripts/install.sh ${{ matrix.BuildType }} | |
- name: Check linking to installed project | |
shell: bash | |
run: | | |
bash scripts/ci/check_install_openmp.sh ${{ matrix.BuildType }} | |
- name: Uninstall project | |
shell: bash | |
run: | | |
bash scripts/uninstall.sh ${{ matrix.BuildType }} |