You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2026/04/21 04:09:14 UTC

(couchdb-jiffy) 03/49: Add specific gcc and clang versions to CI

This is an automated email from the ASF dual-hosted git repository.

nickva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-jiffy.git

commit 229c05bf4b0b1e96886bd1f0d0f9e90e7687ef2a
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Sun Mar 22 01:13:08 2026 -0400

    Add specific gcc and clang versions to CI
    
    While at it add macos tahoe as well
---
 .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2f811b1..7501cea 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -25,11 +25,41 @@ jobs:
       image: erlang:${{matrix.otp_version}}
 
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v6
     - name: ${{matrix.rebar}} make check
       run: |
         make REBAR=${{matrix.rebar}} check
 
+  gcc-14:
+    name: gcc-14
+    runs-on: ubuntu-latest
+    container:
+      image: erlang:28
+    steps:
+      - uses: actions/checkout@v6
+      - name: install gcc-14
+        run: |
+          apt update
+          apt install -y --no-install-recommends --no-install-suggests gcc-14 g++-14
+      - name: make check
+        run: |
+          CC=gcc-14 CXX=g++-14 CFLAGS="-Wextra -Wno-unused-parameter" make check
+
+  clang-19:
+    name: clang-19
+    runs-on: ubuntu-latest
+    container:
+      image: erlang:28
+    steps:
+      - uses: actions/checkout@v6
+      - name: install clang 20
+        run: |
+          apt update
+          apt install -y --no-install-recommends --no-install-suggests clang-19
+      - name: make check
+        run: |
+          CC=clang-19 CXX=clang++-19 CFLAGS="-Wextra -Wno-unused-parameter" make check
+
   macos:
     name: macos
     runs-on: ${{matrix.os}}
@@ -37,10 +67,10 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        os: [macos-14, macos-15, macos-latest]
+        os: [macos-14, macos-15, macos-26, macos-26-intel, macos-latest]
 
     steps:
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v6
     - name: install erlang
       run: |
         brew install erlang
@@ -65,7 +95,7 @@ jobs:
       run: |
           git config --global core.autocrlf false
           git config --global core.eol lf
-    - uses: actions/checkout@v4
+    - uses: actions/checkout@v6
     - name: install rebar3
       run: |
         choco install rebar3