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 BD2F723E03C; Thu, 12 Jan 2023 18:07:28 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org BD2F723E03C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1673536048; bh=zRkCpwRTt1K74wHMdS1V5hSIO/wQB3SURQz/nEwK94w=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=eLhMap5Z/pKUl4U5zHLSWq/OGBKO5Q2Pk/O96XIa8S6DbHGVhmP4Y33FRIqMBjJRW Ty+JX8Yo4A8zF8BmQEmDpNqRGd4lAO85DY5ZiKzhYn9KHo55f2oxEbzaIaPGTwXtis oRwRNqJNIolRam94tlIfpcvrLgt3UISZ2YsiBvvk= Received: from smtpng3.i.mail.ru (smtpng3.i.mail.ru [94.100.177.149]) (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 1BF5123E03B for ; Thu, 12 Jan 2023 18:06:28 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 1BF5123E03B Received: by smtpng3.m.smailru.net with esmtpa (envelope-from ) id 1pFz9v-0007hL-8c; Thu, 12 Jan 2023 18:06:27 +0300 To: Sergey Kaplun , Maxim Kokryashkin Date: Thu, 12 Jan 2023 17:51:37 +0300 Message-Id: <43adedc2ff4d7894000c986e7469b92a32cf69ba.1673534407.git.imun@tarantool.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD90D1502B3BE350FE4AC552EA4D558FC47A948DB6F48C8D1CF00894C459B0CD1B98037E2C4B50D8946E9F92C1D232AB60E79BED5BCC1153D5BAB2D66377DC39A95 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE782A779A89F7D69B2C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE752C80233E1CBDC9EEA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38B6F1F7B995052D5CE12FD45EEAD77B585423C217E8C02D461CC7F00164DA146DAFE8445B8C89999728AA50765F790063783E00425F71A4181389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC84DEEA6AF2480AC03F6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F790063735872C767BF85DA227C277FBC8AE2E8B2303E78B907142AC75ECD9A6C639B01B4E70A05D1297E1BBCB5012B2E24CD356 X-C1DE0DAB: 0D63561A33F958A52F051C9784439C2945D064977DAF9BCD1591670B2D3DE4E04EAF44D9B582CE87C8A4C02DF684249CC203C45FEA855C8F X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D348F1757F8DFBC5C33E61C8D4B9B6EBCBC4248F7FC31F26C8BA3810BC1C6AC3B7F5E816CB7FB8EC2991D7E09C32AA3244CC1F79E3F1CF4411A59BB2996BE0E2C5BA8CE788DE6831205927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojI459hkOkW/Zp3nJOu2lPDA== X-DA7885C5: E1E6865E80FD9AFABC71783DE7E18913FD9289073677DCAC522FE3CF82BCAF2F262E2D401490A4A0DB037EFA58388B346E8BC1A9835FDE71 X-Mailru-Sender: 689FA8AB762F73933AF1F914F131DBF58AA237DA094894077A9614495BDBB3E0A7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E3365FEEDEB644C299C0ED14614B50AE0675 X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit 2/2] ci: use strategy matrix for integration workflow 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: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Considering the changes made in scope of the previous commit, it has been decided to dispatch LuaJIT integration testing to the runner the similar way (i.e. by using the pair of + values). As a result a new job with quite similar strategy matrix[1] is added as a successor for job. The new job uses the new version (with and parameters introduced and optional obsolete parameter) of LuaJIT integration workflow from tarantool/tarantool repo. [1]: https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-a-matrix-strategy-with-a-reusable-workflow Signed-off-by: Igor Munkin --- .github/workflows/testing.yml | 190 ++++++---------------------------- 1 file changed, 30 insertions(+), 160 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 5558e3ea..d707ce83 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -77,173 +77,43 @@ jobs: run: cmake --build . --parallel --target test working-directory: ${{ env.BUILDDIR }} - test-tarantool-linux-x86_64-debug-wo-GC64: - name: Tarantool (Linux/x86_64) Debug GC64:OFF - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=Debug - -DLUAJIT_ENABLE_GC64=OFF - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: OFF - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: Debug - host: ubuntu-20.04-self-hosted - revision: ${{ github.sha }} - test-tarantool-linux-x86_64-debug-w-GC64: - name: Tarantool (Linux/x86_64) Debug GC64:ON - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=Debug - -DLUAJIT_ENABLE_GC64=ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: Debug - host: ubuntu-20.04-self-hosted - revision: ${{ github.sha }} - test-tarantool-linux-x86_64-release-wo-GC64: - name: Tarantool (Linux/x86_64) Release GC64:OFF - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=RelWithDebInfo - -DLUAJIT_ENABLE_GC64=OFF - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: OFF - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: RelWithDebInfo - host: ubuntu-20.04-self-hosted - revision: ${{ github.sha }} - test-tarantool-linux-x86_64-release-w-GC64: - name: Tarantool (Linux/x86_64) Release GC64:ON - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=RelWithDebInfo - -DLUAJIT_ENABLE_GC64=ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: RelWithDebInfo - host: ubuntu-20.04-self-hosted - revision: ${{ github.sha }} - test-tarantool-linux-aarch64-debug-w-GC64: - name: Tarantool (Linux/aarch64) Debug GC64:ON - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=Debug - -DLUAJIT_ENABLE_GC64=ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: Debug - host: graviton - revision: ${{ github.sha }} - test-tarantool-linux-aarch64-release-w-GC64: - name: Tarantool (Linux/aarch64) Release GC64:ON - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=RelWithDebInfo - -DLUAJIT_ENABLE_GC64=ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: RelWithDebInfo - host: graviton - revision: ${{ github.sha }} - test-tarantool-macos-x86_64-debug-w-GC64: - name: Tarantool (macOS/x86_64) Debug GC64:ON - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=Debug - -DLUAJIT_ENABLE_GC64=ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: Debug - host: macos-11 - revision: ${{ github.sha }} - test-tarantool-macos-x86_64-release-w-GC64: - name: Tarantool (macOS/x86_64) Release GC64:ON - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=RelWithDebInfo - -DLUAJIT_ENABLE_GC64=ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: RelWithDebInfo - host: macos-11 - revision: ${{ github.sha }} - test-tarantool-macos-m1-debug-w-GC64: - name: Tarantool (macOS/M1) Debug GC64:ON - needs: test-luajit - uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master - with: - CMAKE_EXTRA_PARAMS: > - -G Ninja - -DCMAKE_BUILD_TYPE=Debug - -DLUAJIT_ENABLE_GC64=ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - GC64: ON - # FIXME: This parameter is obsolete, drop it when - # CMAKE_EXTRA_PARAMS is activated. - buildtype: Debug - host: macos-11-m1 - revision: ${{ github.sha }} - test-tarantool-macos-m1-release-w-GC64: - name: Tarantool (macOS/M1) Release GC64:ON + + test-tarantool: + strategy: + fail-fast: false + matrix: + ARCH: [ARM64, x86_64] + BUILDTYPE: [Debug, Release] + GC64: [ON, OFF] + OS: [Linux, macOS] + include: + - BUILDTYPE: Debug + CMAKEFLAGS: -DCMAKE_BUILD_TYPE=Debug + - BUILDTYPE: Release + CMAKEFLAGS: -DCMAKE_BUILD_TYPE=RelWithDebInfo + exclude: + - ARCH: ARM64 + GC64: OFF + - OS: macOS + GC64: OFF + name: > + Tarantool + (${{ matrix.OS }}/${{ matrix.ARCH }}) + ${{ matrix.BUILDTYPE }} + GC64:${{ matrix.GC64 }} needs: test-luajit uses: tarantool/tarantool/.github/workflows/luajit-integration.yml@master with: CMAKE_EXTRA_PARAMS: > -G Ninja - -DCMAKE_BUILD_TYPE=RelWithDebInfo - -DLUAJIT_ENABLE_GC64=ON + ${{ matrix.CMAKEFLAGS }} + -DLUAJIT_ENABLE_GC64=${{ matrix.GC64 }} # FIXME: This parameter is obsolete, drop it when # CMAKE_EXTRA_PARAMS is activated. - GC64: ON + GC64: ${{ matrix.GC64 }} + arch: ${{ matrix.ARCH }} + os: ${{ matrix.OS }} # FIXME: This parameter is obsolete, drop it when # CMAKE_EXTRA_PARAMS is activated. - buildtype: RelWithDebInfo - host: macos-11-m1 + buildtype: ${{ matrix.BUILDTYPE }} revision: ${{ github.sha }} -- 2.34.0