Skip to content

Commit

Permalink
ci: update cpp-actions to v1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Dec 11, 2023
1 parent 1833247 commit 9c0071a
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v3

- name: Generate Test Matrix
uses: alandefreitas/cpp-actions/cpp-matrix@v1.5.0
uses: alandefreitas/cpp-actions/cpp-matrix@v1.6.2
id: cpp-matrix
with:
compilers: |
Expand Down Expand Up @@ -118,15 +118,15 @@ jobs:
node-version: '18'

- name: Setup C++
uses: alandefreitas/cpp-actions/setup-cpp@v1.5.0
uses: alandefreitas/cpp-actions/setup-cpp@v1.6.2
id: setup-cpp
with:
compiler: ${{ matrix.compiler }}
version: ${{ matrix.version }}
check-latest: ${{ matrix.compiler == 'clang' }}

- name: Install packages
uses: alandefreitas/cpp-actions/package-install@v1.5.0
uses: alandefreitas/cpp-actions/package-install@v1.6.2
id: package-install
with:
apt-get: ${{ matrix.install }} openjdk-11-jdk ninja-build ${{ matrix.compiler == 'clang' && 'libstdc++-12-dev' || '' }}
Expand All @@ -137,7 +137,7 @@ jobs:
cxxflags: ${{ matrix.cxxflags }}

- name: CMake Workflow
uses: alandefreitas/cpp-actions/cmake-workflow@v1.5.0
uses: alandefreitas/cpp-actions/cmake-workflow@v1.6.2
with:
cmake-version: '>=3.20'
generator: Ninja
Expand All @@ -149,8 +149,12 @@ jobs:
cxx: ${{ steps.setup-cpp.outputs.cxx || matrix.cxx }}
cxxflags: ${{ matrix.cxxflags }}${{ ( matrix.compiler == 'gcc' && ' -static-libstdc++') || '' }}${{ ( matrix.asan && ' -static-libasan') || '' }}${{ ( matrix.tsan && ' -static-libtsan') || '' }}
install-prefix: .local
extra-args: ${{ format('-D LLVM_ROOT="{0}" -D Clang_ROOT="{0}" -D CMAKE_EXPORT_COMPILE_COMMANDS=ON', steps.llvm-install.outputs.llvm-root || '/usr/local') }}
export-compile-commands: ${{ matrix.time-trace }}
extra-args: |
-D LLVM_ROOT="${{ steps.llvm-install.outputs.llvm-root || '/usr/local' }}"
-D Clang_ROOT="${{ steps.llvm-install.outputs.llvm-root || '/usr/local' }}"
export-compile-commands: true
run-tests: true
install: true
package: ${{ matrix.is-main }}
package-dir: packages

Expand All @@ -163,7 +167,7 @@ jobs:
retention-days: 1

- name: FlameGraph
uses: alandefreitas/cpp-actions/flamegraph@v1.5.0
uses: alandefreitas/cpp-actions/flamegraph@v1.6.2
if: matrix.time-trace
with:
build-dir: build
Expand Down Expand Up @@ -281,15 +285,15 @@ jobs:
working-directory: packages

- name: Setup C++
uses: alandefreitas/cpp-actions/setup-cpp@v1.5.0
uses: alandefreitas/cpp-actions/setup-cpp@v1.6.2
id: setup-cpp
with:
compiler: clang
version: 16
check-latest: true

- name: Install packages
uses: alandefreitas/cpp-actions/package-install@v1.5.0
uses: alandefreitas/cpp-actions/package-install@v1.6.2
id: package-install
with:
apt-get: libstdc++-12-dev asciidoctor
Expand All @@ -303,7 +307,7 @@ jobs:
mrdocs --version
- name: Clone Boost.URL
uses: alandefreitas/cpp-actions/boost-clone@v1.5.0
uses: alandefreitas/cpp-actions/boost-clone@v1.6.2
id: boost-url-clone
with:
branch: master
Expand Down Expand Up @@ -422,7 +426,7 @@ jobs:
working-directory: build

- name: Create changelog
uses: alandefreitas/cpp-actions/create-changelog@v1.5.0
uses: alandefreitas/cpp-actions/create-changelog@v1.6.2
with:
output-path: CHANGELOG.md
thank-non-regular: ${{ startsWith(github.ref, 'refs/tags/') }}
Expand Down

0 comments on commit 9c0071a

Please sign in to comment.