diff --git a/.github/workflows/check_push_cmake_build.yml b/.github/workflows/check_push_cmake_build.yml index ee23f5206..105748c93 100644 --- a/.github/workflows/check_push_cmake_build.yml +++ b/.github/workflows/check_push_cmake_build.yml @@ -14,24 +14,63 @@ env: CMAKE_VERSION: 3.15.5 jobs: - cmake-js-build: + cmake-js-build-macos-node12: name: cmake-js build + runs-on: macos-latest + strategy: + matrix: + node: [12] +# Windows is AES fail. (for windows server problem) +# https://github.com/actions/setup-node/issues/116 + + steps: + - uses: actions/checkout@v2 + - name: Clear tool cache + run: rm -rf $RUNNER_TOOL_CACHE/* + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: npm_install + run: npm install + - name: test + run: npm run ctest + + cmake-js-build-macos-node13: + name: cmake-js build + needs: cmake-js-build-macos-node12 + runs-on: macos-latest + strategy: + matrix: + node: [13] + + steps: + - uses: actions/checkout@v2 + - name: Clear tool cache + run: rm -rf $RUNNER_TOOL_CACHE/* + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + - name: npm_install + run: npm install + - name: test + run: npm run ctest + + cmake-js-build-ubuntu-node8: + name: cmake-js build + needs: cmake-js-build-macos-node13 runs-on: ${{ matrix.os }} strategy: matrix: - os: [macos-latest, ubuntu-latest] - node: [8, 12, 13] - exclude: - - os: macos-latest - node: 8 - - os: macos-latest - node: 13 + os: [ubuntu-latest] + node: [8] steps: + - uses: actions/checkout@v2 + - name: Clear tool cache + run: rm -rf $RUNNER_TOOL_CACHE/* - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - - uses: actions/checkout@v1 - name: cmake-useCache-ubuntu if: matrix.os == 'ubuntu-latest' uses: actions/cache@v1 @@ -91,7 +130,7 @@ jobs: target: java steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: setup python if: matrix.target == 'python' uses: actions/setup-python@v1