From 79b7f8d814ee9acaaa59165eb9786c3b54fc97c2 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 26 May 2022 15:30:09 -0700 Subject: [PATCH] Update build.yml Test both configs to understand Linux impact --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b40467cb..9230d009 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,26 @@ jobs: runs-on: ${{matrix.os}}-latest steps: - uses: actions/checkout@v1 + - name: make test + run: | + make -j2 config=sanitize werror=1 test + - name: make test w/flags + run: | + make -j2 config=sanitize werror=1 flags=true test + - name: make cli + run: | + make -j2 config=sanitize werror=1 luau luau-analyze # match config with tests to improve build time + ./luau tests/conformance/assert.lua + ./luau-analyze tests/conformance/assert.lua + + unix3: + strategy: + matrix: + os: [ubuntu, macos] + name: ${{matrix.os}}-3 + runs-on: ${{matrix.os}}-latest + steps: + - uses: actions/checkout@v1 - name: make test run: | make -j3 config=sanitize werror=1 test