From patchwork Tue Mar 17 20:27:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1256883 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=BTi8AaCd; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48hl9M4m7Zz9sNg for ; Wed, 18 Mar 2020 07:28:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CD34C2DDFC; Tue, 17 Mar 2020 20:28:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eNKwBLwGJMoB; Tue, 17 Mar 2020 20:28:04 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id DAE8B26FA1; Tue, 17 Mar 2020 20:28:04 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B528EC18DA; Tue, 17 Mar 2020 20:28:04 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 10597C013E for ; Tue, 17 Mar 2020 20:28:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EEE5986FCF for ; Tue, 17 Mar 2020 20:28:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jiJJYbllsuYZ for ; Tue, 17 Mar 2020 20:28:00 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 42A7A86FC9 for ; Tue, 17 Mar 2020 20:28:00 +0000 (UTC) Received: by mail-pg1-f193.google.com with SMTP id a32so11492657pga.4 for ; Tue, 17 Mar 2020 13:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=L/bLLuo3Xkm6dSWyKn3zaMRQhJjkanDArMYNUbODbRs=; b=BTi8AaCd2/LsJ4oATA2EHtsYhCBYFop+l3OBOZGNtSXTddgpU1AhoqXNGwIFMB0AuC cQzoQOG66vw+G11ZAO4j1CaGRfdri0RHYGI13EaF0ICQcj60vKNL1rCUWrq3MxXc2bEG I0KNKKbaYucu8Q3u8tBEjzgKCyPAD6FTxEx2x0GoWitJFDZJYijWS7JHV99xAaEoxBUB pvrnTVp7/9GTTowgEn9vGETeeAHfu8pLtUN4DhSzaP7TTPIWJmGhuEEEQBc6ZXibu8uN aA7m76gK+PMe9BmJ3kZABAQAPIse/A1Zz6hc8ddUuQ0G14tQdfAfoZdGyMXRUC9mykGz tr9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=L/bLLuo3Xkm6dSWyKn3zaMRQhJjkanDArMYNUbODbRs=; b=tr11FcZlcYqB68cFqoO6KUnNgB997RcJiwHsefSUc5KtVLxZJitD5YV7XFjpoAWuvB wURMteDfPSjraQE5CQmA8RM7kFB5OnEjMVK7avYYgxn3Xwl5UrZuldDLP1p+nQdTdjmZ bJ/+txUN7TNyEZNis0aTHIKXqYdMQe24z/F3lwHsPLSKySZwYJRwUVWRRdmrfdZKVx9R DaxodJWcEtFw4Ghj7OswNprczT6hiBnNJGtOIHW4VrldSNwSSRTc85HDg1OPGcU2VD8o Ag2GDOekAi9+Gu8dEnzquqq9nG/HQAXL/mSKIaD6I5esvgbZlzr/u2OVga/IFUlLIngt ecFg== X-Gm-Message-State: ANhLgQ1LgCtxvj3xlqciwsvizbQWXvVwJyK9u6wKGbVfs+pWEDuYuqLl /G10np834cDmr9DVu0gMuN/1cZyx X-Google-Smtp-Source: ADFU+vsX26M3x9h7jjL+/OAAI6dJHTs3tGgySPMOwFRNtsIt80R6cqaRdoD3ivrz8V8lR5KBfpp0OA== X-Received: by 2002:a62:648f:: with SMTP id y137mr561156pfb.199.1584476879481; Tue, 17 Mar 2020 13:27:59 -0700 (PDT) Received: from sc9-mailhost3.vmware.com (c-76-21-95-192.hsd1.ca.comcast.net. [76.21.95.192]) by smtp.gmail.com with ESMTPSA id e14sm3980737pfn.196.2020.03.17.13.27.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Mar 2020 13:27:58 -0700 (PDT) From: William Tu To: dev@openvswitch.org Date: Tue, 17 Mar 2020 13:27:13 -0700 Message-Id: <1584476833-103272-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 Cc: fbl@sysclose.org, i.maximets@ovn.org Subject: [ovs-dev] [PATCH RFC] github-ci: Enable github actions. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" So far we only use travis to do run 'make check' per commit. This enables per-commit check for 'make check-system-userspace' test. We can think about what others to add using github actions. Example run: https://github.com/williamtu/ovs-travis/runs/514822181?check_suite_focus=true Signed-off-by: William Tu --- .github/workflows/ovs.yml | 25 +++++++++++++++++++++++++ Makefile.am | 1 + 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/ovs.yml diff --git a/.github/workflows/ovs.yml b/.github/workflows/ovs.yml new file mode 100644 index 000000000000..1e056aceed2c --- /dev/null +++ b/.github/workflows/ovs.yml @@ -0,0 +1,25 @@ +name: OVS CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: configure + run: ./boot.sh; ./configure + - name: make + run: make -j2 + - name: check-system-userspace + run: sudo make check-system-userspace TESTSUITEFLAGS='1-30' RECHECK=yes + - name: Upload artifact + uses: actions/upload-artifact@v1.0.0 + if: failure() + with: + name: system-userspace + path: tests/system-userspace-testsuite.dir/ diff --git a/Makefile.am b/Makefile.am index b279303d186c..80448d0c31c1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -92,6 +92,7 @@ EXTRA_DIST = \ $(MAN_ROOTS) \ Vagrantfile \ Vagrantfile-FreeBSD \ + .github/workflows/ovs.yml \ .mailmap bin_PROGRAMS = sbin_PROGRAMS =