Githubactions update (#2729)
* Use upload-artifact@v2 (not the preview anymore) * Upload artifacts for CI-unixish * Use -j$(nproc) for make
This commit is contained in:
parent
686a1bec99
commit
bab01a84ab
|
@ -39,24 +39,38 @@ jobs:
|
|||
- name: Build cppcheck
|
||||
run: |
|
||||
cp externals/z3_version_old.h externals/z3_version.h
|
||||
make -j2 USE_Z3=yes HAVE_RULES=yes
|
||||
make -j$(nproc) USE_Z3=yes HAVE_RULES=yes
|
||||
|
||||
- name: Build test
|
||||
run: |
|
||||
make -j2 testrunner USE_Z3=yes HAVE_RULES=yes
|
||||
make -j$(nproc) testrunner USE_Z3=yes HAVE_RULES=yes
|
||||
|
||||
- name: Run test
|
||||
run: |
|
||||
make -j2 check USE_Z3=yes HAVE_RULES=yes
|
||||
make -j$(nproc) check USE_Z3=yes HAVE_RULES=yes
|
||||
|
||||
- name: Validate
|
||||
run: |
|
||||
make validateCFG
|
||||
make validatePlatforms
|
||||
make -j$(nproc) validateCFG validatePlatforms
|
||||
|
||||
- name: Build GUI on ubuntu
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
pushd gui
|
||||
qmake HAVE_QCHART=yes
|
||||
make -j2
|
||||
make -j$(nproc)
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_cli
|
||||
path: ./cppcheck
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_cli
|
||||
path: ./**/cfg/*.cfg
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_cli
|
||||
path: ./**/platforms/*.xml
|
||||
|
|
|
@ -80,47 +80,47 @@ jobs:
|
|||
- name: Run Release test
|
||||
run: .\bin\testrunner.exe
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_gui
|
||||
path: Build\gui
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_gui
|
||||
path: ./**/cfg/*.cfg
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_gui
|
||||
path: ./**/platforms/*.xml
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_gui
|
||||
path: externals\z3\bin\*.dll
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_cli
|
||||
path: ./bin/cppcheck.exe
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_cli
|
||||
path: ./bin/cppcheck-core.dll
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_cli
|
||||
path: externals\z3\bin\*.dll
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_cli
|
||||
path: ./**/cfg/*.cfg
|
||||
|
||||
- uses: actions/upload-artifact@v2-preview
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: cppcheck_cli
|
||||
path: ./**/platforms/*.xml
|
||||
|
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
with:
|
||||
args: --output=output/manual.pdf man/manual.md
|
||||
|
||||
- uses: actions/upload-artifact@master
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: output
|
||||
path: output
|
||||
|
|
Loading…
Reference in New Issue