mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Make release builds parallel and use j3 on macOS
This commit is contained in:
parent
937ef2efd4
commit
4ab5667c94
2 changed files with 21 additions and 4 deletions
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
@ -27,13 +27,29 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: make test
|
||||
run: |
|
||||
make -j2 config=sanitize werror=1 test
|
||||
make -j3 config=sanitize werror=1 test
|
||||
- name: make test w/flags
|
||||
run: |
|
||||
make -j2 config=sanitize werror=1 flags=true test
|
||||
make -j3 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
|
||||
make -j3 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
|
||||
|
||||
ubuntu-clang:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: make test
|
||||
run: |
|
||||
CXX=clang++ make -j3 config=sanitize werror=1 test
|
||||
- name: make test w/flags
|
||||
run: |
|
||||
CXX=clang++ make -j3 config=sanitize werror=1 flags=true test
|
||||
- name: make cli
|
||||
run: |
|
||||
CXX=clang++ make -j3 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
|
||||
|
||||
|
|
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
@ -9,6 +9,7 @@ on:
|
|||
- 'papers/**'
|
||||
- 'rfcs/**'
|
||||
- '*.md'
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -22,7 +23,7 @@ jobs:
|
|||
- name: configure
|
||||
run: cmake . -DCMAKE_BUILD_TYPE=Release
|
||||
- name: build
|
||||
run: cmake --build . --target Luau.Repl.CLI Luau.Analyze.CLI --config Release
|
||||
run: cmake --build . --target Luau.Repl.CLI Luau.Analyze.CLI --config Release -j 3
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: matrix.os != 'windows'
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue