0
0
mirror of https://github.com/zeux/pugixml.git synced 2025-01-14 01:47:55 +08:00

Switch to export and GH vars

This commit is contained in:
Arseny Kapoulkine 2021-06-27 19:04:15 -07:00
parent 8bd9a19a7e
commit 3097a2c711

View File

@ -18,16 +18,14 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: make test - name: make test
run: | run: |
set CXX=${{matrix.compiler}} export CXX=${{matrix.compiler}}
set DEFINES=${{matrix.defines}} make test cxxstd=c++11 defines=${{matrix.defines}} config=release -j2
make test cxxstd=c++11 defines=$DEFINES config=release -j2 make test cxxstd=c++98 defines=${{matrix.defines}} config=debug -j2
make test cxxstd=c++98 defines=$DEFINES config=debug -j2 make test defines=${{matrix.defines}} config=sanitize -j2
make test defines=$DEFINES config=sanitize -j2
- name: make coverage - name: make coverage
if: ${{matrix.os == 'ubuntu' && matrix.compiler == 'clang++'}} if: ${{matrix.os == 'ubuntu' && matrix.compiler == 'clang++'}}
run: | run: |
set DEFINES=${{matrix.defines}} make test defines=${{matrix.defines}} config=coverage -j2
make test defines=$DEFINES config=coverage -j2
bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov -X search -t ${{secrets.CODECOV_TOKEN}} -B ${{github.ref}} bash <(curl -s https://codecov.io/bash) -f pugixml.cpp.gcov -X search -t ${{secrets.CODECOV_TOKEN}} -B ${{github.ref}}
windows: windows: