Update c-cpp.yml

parallelize build and upload artifact
This commit is contained in:
Tim Stack 2020-07-01 15:02:37 -07:00 committed by GitHub
parent f29f93978d
commit 80b1576e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 5 deletions

View File

@ -18,10 +18,15 @@ jobs:
- name: autogen
run: ./autogen.sh
- name: configure
run: ./configure
run: ./configure --enable-static LDFLAGS=-static
- name: make
run: make
- name: make check
run: make check
run: make -j4
- name: make distcheck
run: make distcheck
run: make distcheck -j4
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
# Artifact name
name: Linux 64-bit
# A file, directory or wildcard pattern that describes what to upload
path: src/lnav