Switch to -j3 for build workflow

GHA uses 3-core machines for macOS so this tests if we're going to get better build times with an extra core.
This commit is contained in:
Arseny Kapoulkine 2022-05-26 15:22:04 -07:00 committed by GitHub
parent 61766a692c
commit 3c5034000e
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,13 +29,13 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: make test - name: make test
run: | run: |
make -j2 config=sanitize werror=1 test make -j3 config=sanitize werror=1 test
- name: make test w/flags - name: make test w/flags
run: | run: |
make -j2 config=sanitize werror=1 flags=true test make -j3 config=sanitize werror=1 flags=true test
- name: make cli - name: make cli
run: | run: |
make -j2 config=sanitize werror=1 luau luau-analyze # match config with tests to improve build time make -j3 config=sanitize werror=1 luau luau-analyze # match config with tests to improve build time
./luau tests/conformance/assert.lua ./luau tests/conformance/assert.lua
./luau-analyze tests/conformance/assert.lua ./luau-analyze tests/conformance/assert.lua