Skip to content

Commit

Permalink
[CI] Add a LLVM/Clang compiler job
Browse files Browse the repository at this point in the history
This is another test for the OpenMP samples.
  • Loading branch information
bryanwweber committed Dec 11, 2021
1 parent 037ee04 commit af59da7
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,35 @@ jobs:
run:
python3 `which scons` test show_long_tests=yes verbose_tests=yes --debug=time

ubuntu-multiple-pythons:
name: LLVM/Clang with Python 3.8
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
name: Checkout the repository
with:
submodules: recursive
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: x64
- name: Install Apt dependencies
run: |
sudo apt update
sudo apt install libboost-dev gfortran libomp-dev libomp5
- name: Upgrade pip
run: python3 -m pip install -U pip setuptools wheel
- name: Install Python dependencies
run: python3 -m pip install ruamel.yaml scons numpy cython h5py pandas pytest
pytest-github-actions-annotate-failures
- name: Build Cantera
run: python3 `which scons` build env_vars=all
CXX=clang++-12 CC=clang-12 f90_interface=n -j2 debug=n --debug=time
- name: Test Cantera
run:
python3 `which scons` test show_long_tests=yes verbose_tests=yes --debug=time

macos-multiple-pythons:
name: macOS with Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit af59da7

Please sign in to comment.