mirror of
https://github.com/zeux/pugixml.git
synced 2025-01-13 17:37:58 +08:00
Switch to export and GH vars
This commit is contained in:
parent
8bd9a19a7e
commit
3097a2c711
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -18,16 +18,14 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- name: make test
|
||||
run: |
|
||||
set CXX=${{matrix.compiler}}
|
||||
set DEFINES=${{matrix.defines}}
|
||||
make test cxxstd=c++11 defines=$DEFINES config=release -j2
|
||||
make test cxxstd=c++98 defines=$DEFINES config=debug -j2
|
||||
make test defines=$DEFINES config=sanitize -j2
|
||||
export CXX=${{matrix.compiler}}
|
||||
make test cxxstd=c++11 defines=${{matrix.defines}} config=release -j2
|
||||
make test cxxstd=c++98 defines=${{matrix.defines}} config=debug -j2
|
||||
make test defines=${{matrix.defines}} config=sanitize -j2
|
||||
- name: make coverage
|
||||
if: ${{matrix.os == 'ubuntu' && matrix.compiler == 'clang++'}}
|
||||
run: |
|
||||
set DEFINES=${{matrix.defines}}
|
||||
make test defines=$DEFINES config=coverage -j2
|
||||
make test defines=${{matrix.defines}} config=coverage -j2
|
||||
bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov -X search -t ${{secrets.CODECOV_TOKEN}} -B ${{github.ref}}
|
||||
|
||||
windows:
|
||||
|
Loading…
x
Reference in New Issue
Block a user