Skip to content

Commit

Permalink
README.md: upgrade version in example; add a cpack jammy example
Browse files Browse the repository at this point in the history
  • Loading branch information
lpenz committed Sep 3, 2023
1 parent d728a4d commit 7500a72
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ jobs:
- CXX: ${{ matrix.compiler[1] }}
steps:
- uses: actions/checkout@v2
- uses: docker://lpenz/ghaction-cmake:0.16
- uses: docker://lpenz/ghaction-cmake:0.21.2
# Regular C build with two compilers, using cmakeflags:
build_using_compiler_in_cmakeflags:
strategy:
Expand All @@ -244,15 +244,15 @@ jobs:
steps:
- uses: actions/checkout@v2
# This examples uses the appropriate cmakeflags
- uses: docker://lpenz/ghaction-cmake:0.16
- uses: docker://lpenz/ghaction-cmake:0.21.2
with:
cmakeflags: ${{ format('-DCMAKE_C_COMPILER={0}', matrix.compiler) }}
# Coverage with codecov:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://lpenz/ghaction-cmake:0.16
- uses: docker://lpenz/ghaction-cmake:0.21.2
with:
preset: coverage
# ghaction-cmake works well with the github action
Expand All @@ -265,7 +265,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://lpenz/ghaction-cmake:0.16
- uses: docker://lpenz/ghaction-cmake:0.21.2
with:
preset: coverage
# ghaction-cmake works well with the github action
Expand All @@ -282,7 +282,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://lpenz/ghaction-cmake:0.16
- uses: docker://lpenz/ghaction-cmake:0.21.2
with:
preset: ${{ matrix.preset }}
# Tests with various sanitizers and valgrind:
Expand All @@ -299,17 +299,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://lpenz/ghaction-cmake:0.16
- uses: docker://lpenz/ghaction-cmake:0.21.2
with:
preset: ${{ matrix.preset }}
# Test installation:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://lpenz/ghaction-cmake:0.16
- uses: docker://lpenz/ghaction-cmake:0.21.2
with:
preset: install
# Create the .deb in Ubuntu Jammy:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://lpenz/ghaction-cmake:0.21.2-ubuntu-jammy-amd64
with:
preset: cpack
```
Note that the file above splits static analyzers from sanitizers, but
Expand Down

0 comments on commit 7500a72

Please sign in to comment.