ci-cpu.yml 562 字节
Newer Older
L
luzzyzhang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
name: CI CPU

on:
  push:
    branches: [master]
  pull_request:

jobs:
  cpu-test:
    runs-on: self-hosted
    container:
      image: localhost:5000/megengine-ci:latest
    steps:
      - name: Checkout MegEngine
        uses: actions/checkout@v2
      - name: Checkout submodules
        run: |
          ./third_party/prepare.sh
          ./third_party/install-mkl.sh
      - name: Build MegEngine
        run: ./ci/cmake.sh cpu
      - name: Python test
23
        run: ./ci/run_python_test.sh cpu
L
luzzyzhang 已提交
24 25
      - name: C++ test
        run: ./ci/run_cpp_test.sh cpu