Update build.yml

Test both configs to understand Linux impact
This commit is contained in:
Arseny Kapoulkine 2022-05-26 15:30:09 -07:00 committed by GitHub
parent 3c5034000e
commit 79b7f8d814
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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