From owner-freebsd-git@freebsd.org Wed Sep 23 14:29:25 2020 Return-Path: Delivered-To: freebsd-git@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 541723FB402 for ; Wed, 23 Sep 2020 14:29:25 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BxLCm72YHz4t5N; Wed, 23 Sep 2020 14:29:24 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by mail-ot1-f68.google.com with SMTP id 60so19141330otw.3; Wed, 23 Sep 2020 07:29:24 -0700 (PDT) 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:cc; bh=3KK3WkEKL4IwCib/EhN7Xw5La55rmyylN8pt/n8j1To=; b=Gn6Kw4j4v4aSntmUDd7JofQUN42ZLF49OGkWoZIpVv65N9CpAEzeV3EIIXyGGHv/SZ nrJLsydm+fESfz/GRCZi3jOt42WesGukh5Py85jmuOvdHx71awZWtW+nPwDjfE/2u3Bs ox8dvAg7HG7HXa/0JRLIEqAYuTuicy+N5x+w0MrUQ8l/LSYtwA/5gzzd43T8ZwT8Paxl 93fXwlb2iN3OUe2Nj34S4Yhpx3HNtxpr92SFFJcOvXnBr71IIMG0UEA5yxQqMLzhPyaI puEhA2gbd8SQanfoflqUMEPflSW5klLRmrbx+hKLvt0lUKebyW2lnB8zfy7m59z1L6fO zJFA== X-Gm-Message-State: AOAM533UNYpKCk/hbN2S/Me+nPoW0ui5Fo6yATmu3ZlWeRq9Mj5bmkz/ 3PSw5eARyzqxuX0hJYGbfsTlzDQAUHzyXCjjOtIa8K6quJ8= X-Google-Smtp-Source: ABdhPJxyomdWjPH1KI3PEtcTBZBFSorlFfA3A6ZyB9blVqFgzJUvd3wHI+LTkV9BsKdyjCsCUI1ENrbRYWDwBQIJ0Xo= X-Received: by 2002:a9d:3983:: with SMTP id y3mr5908174otb.71.1600871362136; Wed, 23 Sep 2020 07:29:22 -0700 (PDT) MIME-Version: 1.0 References: <202009231254.08NCsbvl097012@repo.freebsd.org> In-Reply-To: <202009231254.08NCsbvl097012@repo.freebsd.org> From: =?UTF-8?Q?Ulrich_Sp=C3=B6rlein?= Date: Wed, 23 Sep 2020 16:29:10 +0200 Message-ID: Subject: Re: svn commit: r366074 - in head/.github: . workflows To: Alex Richardson , Ed Maste Cc: src-committers@freebsd.org, freebsd-git@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4BxLCm72YHz4t5N X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-BeenThere: freebsd-git@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussion of git use in the FreeBSD project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2020 14:29:25 -0000 This broke pushing to github, so the converter is currently halted ! [remote rejected] trunk -> svn_head (refusing to allow an integration to create or update workflow `.github/workflows/cross-bootstrap-tools.yml`) error: failed to push some refs to 'base.github.com:freebsd/freebsd.git' Error in pushing to github Do you know why? On Wed, Sep 23, 2020 at 2:54 PM Alex Richardson wrote: > > Author: arichardson > Date: Wed Sep 23 12:54:37 2020 > New Revision: 366074 > URL: https://svnweb.freebsd.org/changeset/base/366074 > > Log: > Add github CI for testing cross-building from Linux and macOS > > This builds the kernel-toolchain target and an amd64 GENERIC kernel on > Ubuntu 18.04, 20.04 and the latest macOS to ensure that new changes > don't regress building on non-FreeBSD hosts. > > Reviewed By: emaste, lwhsu > Differential Revision: https://reviews.freebsd.org/D26512 > > Added: > head/.github/ > head/.github/workflows/ > head/.github/workflows/cross-bootstrap-tools.yml (contents, props changed) > > Added: head/.github/workflows/cross-bootstrap-tools.yml > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/.github/workflows/cross-bootstrap-tools.yml Wed Sep 23 12:54:37 2020 (r366074) > @@ -0,0 +1,35 @@ > +name: Cross-build CI > + > +on: > + push: > + branches: [ master ] > + pull_request: > + branches: [ master ] > + > +jobs: > + build: > + name: ${{ matrix.os }} > + runs-on: ${{ matrix.os }} > + strategy: > + matrix: > + os: [ubuntu-18.04, ubuntu-20.04, macOS-latest] > + > + steps: > + - uses: actions/checkout@v2 > + - name: install LLVM+libarchive (Ubuntu) > + run: | > + wget -O /tmp/llvm.sh https://apt.llvm.org/llvm.sh > + chmod +x /tmp/llvm.sh > + sudo /tmp/llvm.sh 11 > + sudo apt install -y libarchive-dev > + echo "::set-env name=EXTRA_MAKE_ARGS::--cross-bindir=/usr/lib/llvm-11/bin" > + if: ${{ startsWith(matrix.os, 'ubuntu') }} > + - name: install LLVM+libarchive (macOS) > + run: brew install llvm coreutils libarchive xz > + if: ${{ startsWith(matrix.os, 'macOS') }} > + - name: create build dir > + run: rm -rf ../build && mkdir -p ../build > + - name: make kernel-toolchain > + run: env MAKEOBJDIRPREFIX=`realpath ../build` ./tools/build/make.py $EXTRA_MAKE_ARGS TARGET=amd64 TARGET_ARCH=amd64 kernel-toolchain -s -j$(nproc) > + - name: make buildkernel > + run: env MAKEOBJDIRPREFIX=`realpath ../build` ./tools/build/make.py $EXTRA_MAKE_ARGS TARGET=amd64 TARGET_ARCH=amd64 KERNCONF=GENERIC NO_MODULES=yes buildkernel -s -j$(nproc)