mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-30 10:47:34 +02:00
CI: add timeouts in the gcc
job
This commit is contained in:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -55,16 +55,24 @@ jobs:
|
|||||||
sudo add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ focal main universe'
|
sudo add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ focal main universe'
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }}
|
sudo apt-get install -y gcc-${{ matrix.gcc }} g++-${{ matrix.gcc }}
|
||||||
|
timeout-minutes: 5
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
timeout-minutes: 1
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cmake -DCMAKE_BUILD_TYPE=Debug .
|
run: cmake -DCMAKE_BUILD_TYPE=Debug .
|
||||||
env:
|
env:
|
||||||
CC: gcc-${{ matrix.gcc }}
|
CC: gcc-${{ matrix.gcc }}
|
||||||
CXX: g++-${{ matrix.gcc }}
|
CXX: g++-${{ matrix.gcc }}
|
||||||
CXXFLAGS: ${{ matrix.cxxflags }}
|
CXXFLAGS: ${{ matrix.cxxflags }}
|
||||||
|
timeout-minutes: 1
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build .
|
run: cmake --build .
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
echo "## CTest output" >> $GITHUB_STEP_SUMMARY
|
echo "## CTest output" >> $GITHUB_STEP_SUMMARY
|
||||||
@ -73,6 +81,7 @@ jobs:
|
|||||||
echo '```' >> $GITHUB_STEP_SUMMARY
|
echo '```' >> $GITHUB_STEP_SUMMARY
|
||||||
env:
|
env:
|
||||||
UBSAN_OPTIONS: print_stacktrace=1
|
UBSAN_OPTIONS: print_stacktrace=1
|
||||||
|
timeout-minutes: 2
|
||||||
|
|
||||||
clang:
|
clang:
|
||||||
name: Clang
|
name: Clang
|
||||||
|
Reference in New Issue
Block a user