|
1 | | -# borrowed this from: |
2 | | -# https://raw.githubusercontent.com/AcademySoftwareFoundation/Imath/main/.github/workflows/ci_workflow.yml |
3 | | -# with some slight simplifications |
| 1 | +# simple ci config the idea is to use the latest ubuntu, macos, and windows that github runners give us |
| 2 | +# test a few different compilers (gcc/clang) in debug and release |
| 3 | +# and run our tests via ctest |
4 | 4 |
|
5 | 5 | name: CI |
6 | 6 |
|
|
14 | 14 | - '**.md' |
15 | 15 |
|
16 | 16 | jobs: |
17 | | - # Linux jobs run in Docker containers, so the latest OS version is OK. macOS |
18 | | - # and Windows jobs need to be locked to specific virtual environment |
19 | | - # versions to mitigate issues from OS updates, and will require maintenance |
20 | | - # as OS versions are retired. |
21 | | - # |
22 | | - # GH Actions (Free plan) supports 20 concurrent jobs, with 5 concurrent macOS |
23 | | - # jobs. This workflow tries to utilize (but not exceed) that budget to |
24 | | - # promote timely CI. |
25 | | - |
26 | | - # --------------------------------------------------------------------------- |
27 | | - # Linux |
28 | | - # --------------------------------------------------------------------------- |
29 | | - # TODO: Add ARM build. Add sanitize build. |
30 | 17 |
|
31 | 18 | linux: |
32 | 19 | name: '${{ matrix.os }} |
33 | 20 | <${{ matrix.compiler-desc }} , |
34 | 21 | config=${{ matrix.build-type }}, |
35 | 22 | shared=${{ matrix.build-shared }}, |
36 | 23 | cxx=${{ matrix.cxx-standard }}>' |
37 | | - # GH-hosted VM. The build runs in CentOS 7 'container' defined below. |
38 | 24 | runs-on: ubuntu-latest |
39 | 25 | strategy: |
40 | 26 | matrix: |
|
76 | 62 | compiler-desc: gcc |
77 | 63 | os: ubuntu-latest |
78 | 64 |
|
79 | | - |
80 | 65 | # ------------------------------------------------------------------- |
81 | 66 | # gcc, Debug |
82 | 67 | # ------------------------------------------------------------------- |
@@ -124,7 +109,7 @@ jobs: |
124 | 109 | # macOS |
125 | 110 | # --------------------------------------------------------------------------- |
126 | 111 |
|
127 | | - macos_no_python: |
| 112 | + macos: |
128 | 113 | name: '${{ matrix.os }} |
129 | 114 | config=${{ matrix.build-type }}, |
130 | 115 | shared=${{ matrix.build-shared }}, |
@@ -173,7 +158,6 @@ jobs: |
173 | 158 | cmake --build . \ |
174 | 159 | --target install \ |
175 | 160 | --config ${{ matrix.build-type }} \ |
176 | | - -- -j2 |
177 | 161 | working-directory: _build |
178 | 162 | - name: Test |
179 | 163 | run: | |
|
0 commit comments