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 035B0292764; Fri, 27 Jan 2023 00:13:09 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 035B0292764 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1674767589; bh=RE7J7zaKuip87G8sgZvq6OKqjXN0BENxKfpEtT8x3Y4=; h=In-Reply-To:Date:References:To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=fTkmPgVJGjBCf0Y3gtOnANMG42Gl+CALT9w7u1MKiEGaRhPwApeAAYGzDf2+Ucqfl 6XLPtTmTKaW0Wvz2yJzVJ8NmmV4oSW3kvSUl2WpK2A0h/Gx0b1QrFnQhCwOXHuitHC FWJoyHMdWmU57jbLk5b44tpmcxC5nFb5HeLveuOQ= Received: from smtp42.i.mail.ru (smtp42.i.mail.ru [95.163.41.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 482B670301 for ; Fri, 27 Jan 2023 00:13:08 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 482B670301 Received: by smtp42.i.mail.ru with esmtpa (envelope-from ) id 1pL9YR-00GEqA-Gi; Fri, 27 Jan 2023 00:13:07 +0300 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) In-Reply-To: Date: Fri, 27 Jan 2023 00:12:55 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <344EA858-7445-4DD9-8A4F-625F940614D7@tarantool.org> References: To: Sergey Kaplun X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD939F4CB9F411D0C04563E6DE9EA85E9752C3C2CBFE51DBF69182A05F5380850402E309B223CFED72820731EE5017022D8832BEECB58521B48A9A043E53B2169F7 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE70D278D70F8433719EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637D82ED515D6052E03EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B6F1F7B995052D5CE6097B0C31C740E757AA0927C40DED1B1CC7F00164DA146DAFE8445B8C89999728AA50765F7900637F6B57BC7E64490618DEB871D839B7333395957E7521B51C2DFABB839C843B9C08941B15DA834481F8AA50765F790063744AEA33820A65E80389733CBF5DBD5E9B5C8C57E37DE458BD9DD9810294C998ED8FC6C240DEA76428AA50765F79006371D5AA161FDF499FCD81D268191BDAD3DBD4B6F7A4D31EC0BEA7A3FFF5B025636D81D268191BDAD3D78DA827A17800CE7AA346202A9EE082EEC76A7562686271ED91E3A1F190DE8FD2E808ACE2090B5E14AD6D5ED66289B5259CC434672EE63711DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C310D83F74CD527F8B35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-B7AD71C0: 1B70FBA5C9BEEE72C9761FC34675ADEB871C96603B655635EE9D5CB6078CC77CA038EA67F683C84C71B50B874F048A7C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D349A401E2B4D763A4A62A9D576E361B240E2A148BFD464BB6629A562F501C46AFA06ACA968196B9ACB1D7E09C32AA3244CCA5547EFA0E7A8811233BD70CBA7ECDC39C99C45E8D137E9FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojSgrCHE6ee1iTbvUu7t1+iw== X-Mailru-Sender: 5AA3D5B9D8C48646B0E16308DBDEF600A4A53D3F8817FD5120731EE5017022D8F43CCAED39DA92F160D8632BEC246C7D55B4A2144138A8805FC805B5969CB4993EE16157CC7DAB4272D6B4FCE48DF648AE208404248635DF X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 2/3] ci: introduce workflow for exotic builds 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: sergos via Tarantool-patches Reply-To: sergos Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hi! Thanks for the patch! Some question on build options. Sergos > On 18 Jan 2023, at 23:16, Sergey Kaplun wrote: >=20 > This workflow is well-suited for test specific builds like dual-number > mode on x86_x64, build with disabled JIT or FFI, etc. >=20 > For now, just the dual-number mode is added, due to the need to test > future commits. If there is need to add a new build type `FLAVOR` = column ^ ^--------- a then(?) the > of CI matrix should be exposed. Also, just Linux x86_64 is tested, extended? xxxxx ^ only > because we want to decrease resource usage in CI. > --- > .github/workflows/exotic-builds-testing.yml | 71 +++++++++++++++++++++ > 1 file changed, 71 insertions(+) > create mode 100644 .github/workflows/exotic-builds-testing.yml >=20 > diff --git a/.github/workflows/exotic-builds-testing.yml = b/.github/workflows/exotic-builds-testing.yml > new file mode 100644 > index 00000000..cd0c14d7 > --- /dev/null > +++ b/.github/workflows/exotic-builds-testing.yml > @@ -0,0 +1,71 @@ > +name: "Exotic builds testing" > + > +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 =3D=3D '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-x86_64-exotic: > + strategy: > + fail-fast: false > + matrix: > + BUILDTYPE: [Debug, Release] > + GC64: [ON, OFF] > + FLAVOR: [dualnum] > + include: > + - BUILDTYPE: Debug > + CMAKEFLAGS: -DCMAKE_BUILD_TYPE=3DDebug = -DLUA_USE_ASSERT=3DON -DLUA_USE_APICHECK=3DON > + - BUILDTYPE: Release > + CMAKEFLAGS: -DCMAKE_BUILD_TYPE=3DRelWithDebInfo Shall we add the -DLUAJIT_ENABLE_CHECKHOOK and -DLUAJIT_SMART_STRINGS=3D1 = since they are in Tarantool by default? > + - FLAVOR: dualnum > + FLAVORFLAGS: -DLUAJIT_NUMMODE=3D2 > + runs-on: [self-hosted, regular, Linux, x86_64] > + name: > > + LuaJIT ${{ matrix.FLAVOR }} > + (Linux/x86_64) > + ${{ matrix.BUILDTYPE }} > + GC64:${{ matrix.GC64 }} > + steps: > + - uses: actions/checkout@v2.3.4 > + with: > + fetch-depth: 0 > + submodules: recursive > + - name: setup Linux > + uses: ./.github/actions/setup-linux > + - name: configure > + run: > > + cmake -S . -B ${{ env.BUILDDIR }} > + -G Ninja > + ${{ matrix.CMAKEFLAGS }} > + ${{ matrix.FLAVORFLAGS }} > + -DLUAJIT_ENABLE_GC64=3D${{ matrix.GC64 }} > + - name: build > + run: cmake --build . --parallel > + working-directory: ${{ env.BUILDDIR }} > + - name: test > + run: cmake --build . --parallel --target test > + working-directory: ${{ env.BUILDDIR }} > --=20 > 2.34.1 >=20