Поддержка MS VC x86 в CI #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-posix | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
bootstrap-sh: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
ccomp: [ gcc, clang ] | |
exclude: | |
# clang отсутствует на сервере сборки для Windows | |
- os: windows-latest | |
ccomp: clang | |
# на macOS gcc — синоним для clang, дважды можно не запускать | |
- os: macos-latest | |
ccomp: gcc | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Bootstrapping on ${{ matrix.os }} with ${{ matrix.ccomp }} | |
run: | | |
cp .github/workflows/conf-template-${{ matrix.ccomp }}.bash c-plus-plus.conf.sh | |
./bootstrap.sh | |
shell: bash | |
- uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: log-info-posix | |
path: | | |
autotests/__error.txt | |
autotests/__dump.txt | |
autotests/__log.txt | |
bin | |
src | |
retention-days: 5 |