Skip to content

Commit f489f99

Browse files
committed
gcc
1 parent 0409b5d commit f489f99

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Syntax reference https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
2+
# Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners
3+
name: CI-gcc-versions
4+
5+
on:
6+
push:
7+
branches:
8+
- 'main'
9+
- 'releases/**'
10+
- '2.*'
11+
tags:
12+
- '2.*'
13+
pull_request:
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
build:
20+
21+
strategy:
22+
matrix:
23+
image: ["gcc:6.5", "gcc:7.5", "gcc:8.5", "gcc:9.5"]
24+
fail-fast: false
25+
26+
runs-on: ubuntu-22.04
27+
28+
container:
29+
image: ${{ matrix.image }}
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
with:
34+
persist-credentials: false
35+
36+
- name: Build cppcheck
37+
run: |
38+
make -j$(nproc) CXXOPTS="-Werror"

0 commit comments

Comments
 (0)