From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by sourceware.org (Postfix) with ESMTPS id B92573836C38 for ; Sat, 16 Jan 2021 20:33:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B92573836C38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinwoodie.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adam@dinwoodie.org Received: by mail-qt1-x836.google.com with SMTP id e15so8647713qte.9 for ; Sat, 16 Jan 2021 12:33:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dinwoodie.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=EsYEuXetBK3ksRDOIN61wdpcZV7dFsjhHRUeGoHw8Y0=; b=IlMEq6P0yd2qs0c7iEmEA9b1t8Ia17INakb52YgK4DuknMerm1y/QjsZqhWe/WtDDA b/muA/D88A/ki3b+vHZSaXFtTsH9EnoPj44jCKmm2j+Mh0yFRtzkBx5y/ccbk+mQyqpw ycSohkXyt4BsAH8qjNqjJtWBOxLpnFxNRc9wo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=EsYEuXetBK3ksRDOIN61wdpcZV7dFsjhHRUeGoHw8Y0=; b=sIeBjd/YRqqQdd4RoZKoXwGrjRqPMfR1YeY29gjLbaXuno2gZzQdly5zWYBUozoIwO Zp6nmME+eBFXu09qopEsg998bspwXoDUAeaIFH8q/kZQ8EeJRNKns7xcSgTxTwxwQZ7D YyKh0JgTZaAmsld91ETGDp6ZJEHxOsEjnShR9oGtK8VVDuMOULr5KmOQSsH2HmPA0MGC 83LMiIFSZLKvDq6qKgMUpivnYvLUEkqK9QlpgIb4RXAjsUI8pv2sjZZngniW7PSbeHWh 44vJBOU6iMZzGGL3Q4BysMHX49GmTStQgoXNXsPlA7FZ2taTdKRXOX9AcAcg/BWU7sm3 cNIg== X-Gm-Message-State: AOAM531KCGufCyESc/a+y0K0aKtGBCNso2Ep0GMyzhr1uCo6Z2PaLU+/ JGv8H6smD+jWsdHKx5UduQNlKIgKJfYJNIArxS5GCEC/ckI= X-Google-Smtp-Source: ABdhPJxV9f+TW36HQ4bTCjbM42mKxB3hT50RJPjsz0Ns5CRkLnZfH59N7dtPxItqDbpkBrqm1JVihgH3CYg9g1dAOjM= X-Received: by 2002:ac8:5159:: with SMTP id h25mr17528510qtn.199.1610829220346; Sat, 16 Jan 2021 12:33:40 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Adam Dinwoodie Date: Sat, 16 Jan 2021 20:33:05 +0000 Message-ID: Subject: GitHub automation for Cygwin builds [Was: Updated: moreutils v0.65-1] To: cygwin-apps@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 20:33:45 -0000 On Sat, 16 Jan 2021 at 20:22, Adam Dinwoodie wrote: > Version 0.65-1 of moreutils has been uploaded and should be coming > soon to a distribution server near you. In case anyone's interested or has thoughts: As part of working on this release, I've been playing with GitHub's automation tools. The entire build / test / package / release / upload process was performed using free ephemeral GitHub-managed VMs. At least in theory, this reduces the manual work for future releases to: - Commit a version of the Cygport file with an updated version number. - Create a tag and push that tag to GitHub - Wait for the confirmation email to arrive - Send the announcement email This is obviously serving a similar purpose to the automated builds that Scallywag provides; I'm not sure I'd have bothered with this project had I not already been most of the way through it before I spotted Scallywag existed. I suspect in theory Scallywag's access to the Cygwin servers means it's potentially more powerful, but Scallywag also comes with some general caveats ("at this stage, this is only probably useful for verifying that BUILD_REQUIRES is correct"), whereas I think with care this could replace local builds today. The configuration to make this work is almost entirely in , and I expect the modifications to make this work for most other packages would be straightforward. I'm hoping to make the process and required configuration simpler, by creating a pre-defined GitHub action that hides most of the boilerplate. If you're curious, you can see the full build output for the final release build at .