diff --git a/.github/workflows/ekut.yml b/.github/workflows/ekut.yml new file mode 100644 index 000000000000..c1d1e08ff9fb --- /dev/null +++ b/.github/workflows/ekut.yml @@ -0,0 +1,54 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# GH actions. +# We use it to cover windows and mac builds +# Jenkins is still the primary CI + +name: CI + +on: + push: + branches: + - ekut + pull_request: + branches: + - ekut + workflow_dispatch: + +concurrency: + group: CI-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true + +jobs: + jetson_tvm_rpc: + if: ${{ github.repository == 'ekut-es/tvm' }} + runs-on: nvcr.io/nvidia/jetpack-linux-aarch64-crosscompile-x86:5.1.2 + steps: + - uses: actions/checkout@v2 + with: + submodules: 'recursive' + - name: Set up environment + uses: ./.github/actions/setup + - name: Build static TVM runtime + shell: bash -l {0} + run: | + mkdir -p build + cd build + cmake .. + cmake --build . --config Release --target tvm_rpc +