From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 145956ECE6; Mon, 6 Jun 2022 14:24:59 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 145956ECE6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1654514699; bh=krSOlz4xyYyOIiTw2s/GtwGnMu4NfNk7Bc99/5Xkdts=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=uYFKw/YNaBjPRj08zkTJuIbMPexgQ/qi2Qw76+2GHx26wazWnsEpiMMMZZNoMQinw 8VCsncD4Wz3T+6f0g29EPmWB0pjixeO0v3GTVWyBiks/GuMIuOnpcIblsCoOg70Pai 1zASeotITWe1hpcXqtOM/v554pJz8y3GBjg9kg9U= Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 482886ECE6 for ; Mon, 6 Jun 2022 14:24:58 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 482886ECE6 Received: by mail-lj1-f169.google.com with SMTP id g25so15392336ljm.2 for ; Mon, 06 Jun 2022 04:24:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=W79JghUBxT8i9qqbMFFxJTh3lfcdjLCbYrc5bQqECNk=; b=u5ZfTSE9UVcUn2UhXE2/MAcJS9WPwsTkCRV3bhmi6MYbcbbyj9Z5GPxsvpb0vEeYJw 8dM/CQ2JwLpArKHty2VW0RvlL4rdkB6MV7I5t6W2XmUON1Eg7liITdEquwPzR5/De8Xn ThRWvQfAvcg9/T/IaEHDg+MdWWjlOajomO5me+1kPVe3CIt/kukUkrSGVgfmzZpxsO86 pMX5DC73rVYl7Mh64rTJUfqgb4dVnEJGeaztyVLG8x8OG70QGrBHj2cRrv76A0ni5ZoF 9l7p2IVWegvTv7tNP1IcOhFsOuQyaQGFmND7A8Bl55KjOlLVeKRYRJKje/JUJvIe1EFo kUSA== X-Gm-Message-State: AOAM533+OtEa8jg3N7gc/jq10eIPzwrOYlRLP1auSzAGnpRAoBV0AV2F 7jT8Ct41Q+sbrGsIKVoFknnVVZ2YYhI= X-Google-Smtp-Source: ABdhPJzFm7h7PFZBfn+MabkyReGcxxlNmPi69A95THMJJL8unFn3uXjFLNsrYnk3d+mxgzbzO26l/A== X-Received: by 2002:a2e:5cc2:0:b0:250:8431:a76a with SMTP id q185-20020a2e5cc2000000b002508431a76amr49535595ljb.325.1654514697369; Mon, 06 Jun 2022 04:24:57 -0700 (PDT) Received: from pony.mail.msk ([2a00:1148:b0ba:16:3058:30fc:a769:5ae9]) by smtp.gmail.com with ESMTPSA id t20-20020a195f14000000b0047924180d03sm1101806lfb.152.2022.06.06.04.24.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 04:24:56 -0700 (PDT) X-Google-Original-From: Sergey Bronnikov To: tarantool-patches@dev.tarantool.org Date: Mon, 6 Jun 2022 14:24:54 +0300 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [v2][PATCH 5/5] ci: add job with build using Ninja on linux-x86_64 X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Bronnikov via Tarantool-patches Reply-To: Sergey Bronnikov Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" --- .github/workflows/linux-x86_64-ninja.yml | 51 ++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/linux-x86_64-ninja.yml diff --git a/.github/workflows/linux-x86_64-ninja.yml b/.github/workflows/linux-x86_64-ninja.yml new file mode 100644 index 00000000..833d36d9 --- /dev/null +++ b/.github/workflows/linux-x86_64-ninja.yml @@ -0,0 +1,51 @@ +name: "LuaJIT test workflow with Ninja (Linux/x86_64)" + +on: + push: + branches-ignore: + - '**-notest' + - 'upstream-**' + tags-ignore: + - '**' + +concurrency: + # An update of a developer branch cancels the previously + # scheduled workflow run for this branch. However, the default + # branch, and long-term branch (tarantool-1.10, tarantool-2.8, + # etc.) workflow runs are never canceled. + # + # We use a trick here: define the concurrency group as 'workflow + # run ID' + # 'workflow run attempt' because it is a unique + # combination for any run. So it effectively discards grouping. + # + # XXX: we cannot use `github.sha` as a unique identifier because + # pushing a tag may cancel a run that works on a branch push + # event. + group: ${{ ( + github.ref == 'refs/heads/tarantool' || + startsWith(github.ref, 'refs/heads/tarantool-')) && + format('{0}-{1}', github.run_id, github.run_attempt) || + format('{0}-{1}', github.workflow, github.ref) }} + cancel-in-progress: true + +jobs: + test-linux-x86_64: + runs-on: ubuntu-20.04-self-hosted + strategy: + fail-fast: false + name: Linux/x86_64 ${{ matrix.BUILDTYPE }} + steps: + - uses: actions/checkout@v2.3.4 + with: + fetch-depth: 0 + submodules: recursive + - name: setup + run: | + sudo apt -y update + sudo apt -y install cmake ninja-build gcc perl + - name: configure + run: cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -G Ninja + - name: build + run: cmake --build . -j $(nproc) + - name: test + run: cmake --build . -j $(nproc) -t test -- 2.25.1