Skip to content
Permalink
Browse files

temp: Copy/paste because GitHub's YAML parser doesn't support anchors

  • Loading branch information
CFSworks committed Nov 6, 2019
1 parent f3c63e2 commit 38d1b56c7fb3c90ac720be9368ae87457ec959b1
Showing with 29 additions and 10 deletions.
  1. +29 −10 .github/workflows/ci.yml
@@ -27,34 +27,53 @@ jobs:
env:
CMAKE_GENERATOR: ${{ matrix.generator }}
CMAKE_BUILD_TYPE: ${{ matrix.config }}
- &build
name: Build (no Python)
- name: Build (no Python)
# BEGIN A
working-directory: build
run: cmake --config $CMAKE_BUILD_TYPE --build .
env:
CMAKE_BUILD_TYPE: ${{ matrix.config }}
# END A

- &config
name: Configure (Python 2.7)
- name: Configure (Python 2.7)
# BEGIN B
working-directory: build
run: 'cmake -DHAVE_PYTHON=ON -DWANT_PYTHON_VERSION=$PY_VERSION .'
# END B
env:
PY_VERSION: 2.7
- name: Build (Python 2.7)
<<: *build
- &test
name: Test (Python 2.7)
# BEGIN A
working-directory: build
run: cmake --config $CMAKE_BUILD_TYPE --build .
env:
CMAKE_BUILD_TYPE: ${{ matrix.config }}
# END A
- name: Test (Python 2.7)
# BEGIN C
working-directory: build
run: ctest -V -C ${{ matrix.config }}
# END C

- name: Configure (Python 3.7)
<<: *config
# BEGIN B
working-directory: build
run: 'cmake -DHAVE_PYTHON=ON -DWANT_PYTHON_VERSION=$PY_VERSION .'
# END B
env:
PY_VERSION: 3.7
- name: Build (Python 3.7)
<<: *build
# BEGIN A
working-directory: build
run: cmake --config $CMAKE_BUILD_TYPE --build .
env:
CMAKE_BUILD_TYPE: ${{ matrix.config }}
# END A
- name: Test (Python 3.7)
<<: *test
# BEGIN C
working-directory: build
run: ctest -V -C ${{ matrix.config }}
# END C

makepanda:
if: 1 == 0

0 comments on commit 38d1b56

Please sign in to comment.
You can’t perform that action at this time.