From dev-return-6029-archive-asf-public=cust-asf.ponee.io@singa.apache.org Tue Jul 14 22:58:48 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 82C2218064D for ; Wed, 15 Jul 2020 00:58:48 +0200 (CEST) Received: (qmail 44026 invoked by uid 500); 14 Jul 2020 22:58:47 -0000 Mailing-List: contact dev-help@singa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.apache.org Delivered-To: mailing list dev@singa.apache.org Received: (qmail 44016 invoked by uid 99); 14 Jul 2020 22:58:47 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2020 22:58:47 +0000 From: =?utf-8?q?GitBox?= To: dev@singa.apache.org Subject: =?utf-8?q?=5BGitHub=5D_=5Bsinga=5D_moazreyad_commented_on_a_change_in_pull_r?= =?utf-8?q?equest_=23761=3A_C++_build_with_Github_Actions?= Message-ID: <159476752780.29655.12243662405311495964.asfpy@gitbox.apache.org> Date: Tue, 14 Jul 2020 22:58:47 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit In-Reply-To: References: moazreyad commented on a change in pull request #761: URL: https://github.com/apache/singa/pull/761#discussion_r454692471 ########## File path: .github/workflows/cpp.yaml ########## @@ -0,0 +1,47 @@ +# +# 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. +# + +# This is a basic workflow to help you get started with Actions + +name: C++ + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: + - master + - dev + pull_request: + branches: + - master + - dev + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build-ubuntu-cpp: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: install-build-dependencies + run: sudo apt-get install -y libgoogle-glog-dev libprotobuf-dev protobuf-compiler libncurses-dev libopenblas-dev gfortran libblas-dev liblapack-dev libatlas-base-dev swig libcurl3-dev cmake dh-autoreconf + - name: configure + run: mkdir build && cd build && cmake -DUSE_PYTHON=NO .. Review comment: Yes, any shell script for build can be used. I added the [oneDNN](https://github.com/apache/singa/pull/761/checks?check_run_id=871284806) check and it works fine. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org