diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e00f47..579488a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: # # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, windows-latest, macos-latest] build_type: [Release] c_compiler: [gcc, clang, cl] include: @@ -36,6 +36,15 @@ jobs: - os: ubuntu-latest c_compiler: clang cpp_compiler: clang++ + - os: macos-latest + c_compiler: clang + cpp_compiler: clang++ + - desc: "clang-format" + nametag: clang-format + os: ubuntu-latest + container: aswf/ci-osl:2022-clang12 + skip_tests: 1 + setenvs: export BUILDTARGET=clang-format exclude: - os: windows-latest c_compiler: gcc @@ -43,6 +52,10 @@ jobs: c_compiler: clang - os: ubuntu-latest c_compiler: cl + - os: macos-latest + c_compiler: cl + - os: macos-latest + c_compiler: gcc steps: - uses: actions/checkout@v3