瀏覽代碼

github: set branch 6.0 [skip ci]

Victor Seva 7 月之前
父節點
當前提交
142260f8c3
共有 3 個文件被更改,包括 7 次插入9 次删除
  1. 5 7
      .github/workflows/cmake_build.yml
  2. 1 1
      .github/workflows/devcontainer.yaml
  3. 1 1
      .github/workflows/main.yml

+ 5 - 7
.github/workflows/cmake_build.yml

@@ -6,9 +6,7 @@ on:
   # Allows you to run this workflow manually from the Actions tab
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
   workflow_dispatch:
   push:
   push:
-    branches: [ master ]
-  pull_request:
-    branches: [ master ]
+    branches: [ 6.0 ]
 
 
 jobs:
 jobs:
   build:
   build:
@@ -29,7 +27,7 @@ jobs:
         os: [ubuntu-latest, macos-latest]
         os: [ubuntu-latest, macos-latest]
         # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
         # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
         build_type: [Release]
         build_type: [Release]
-        c_compiler: [gcc, clang] 
+        c_compiler: [gcc, clang]
         kamailio_groups: [DEFAULT]
         kamailio_groups: [DEFAULT]
         target_arch: [aarch64, x86_64]
         target_arch: [aarch64, x86_64]
         exclude:
         exclude:
@@ -51,7 +49,7 @@ jobs:
     - name: Build Project natively
     - name: Build Project natively
       uses: threeal/[email protected]
       uses: threeal/[email protected]
       # Step runs for all except this combination
       # Step runs for all except this combination
-      if: matrix.os != 'ubuntu-latest' || matrix.target_arch != 'aarch64'  
+      if: matrix.os != 'ubuntu-latest' || matrix.target_arch != 'aarch64'
       with:
       with:
         build-dir: ${{github.workspace}}/build
         build-dir: ${{github.workspace}}/build
         build-args: -j8
         build-args: -j8
@@ -59,7 +57,7 @@ jobs:
           CMAKE_BUILD_TYPE=${{matrix.build_type}}
           CMAKE_BUILD_TYPE=${{matrix.build_type}}
           MODULE_GROUP_NAME=${{matrix.kamailio_groups}}
           MODULE_GROUP_NAME=${{matrix.kamailio_groups}}
           CMAKE_C_COMPILER=${{matrix.c_compiler}}
           CMAKE_C_COMPILER=${{matrix.c_compiler}}
-      
+
     - name: Build Project with cross-compiler
     - name: Build Project with cross-compiler
       if: matrix.os == 'ubuntu-latest' && matrix.target_arch == 'aarch64'
       if: matrix.os == 'ubuntu-latest' && matrix.target_arch == 'aarch64'
       uses: threeal/[email protected]
       uses: threeal/[email protected]
@@ -69,4 +67,4 @@ jobs:
         options: |
         options: |
           CMAKE_BUILD_TYPE=${{matrix.build_type}}
           CMAKE_BUILD_TYPE=${{matrix.build_type}}
           MODULE_GROUP_NAME=${{matrix.kamailio_groups}}
           MODULE_GROUP_NAME=${{matrix.kamailio_groups}}
-          CMAKE_TOOLCHAIN_FILE=${{github.workspace}}/cmake/aarch64-toolchain.cmake
+          CMAKE_TOOLCHAIN_FILE=${{github.workspace}}/cmake/aarch64-toolchain.cmake

+ 1 - 1
.github/workflows/devcontainer.yaml

@@ -4,7 +4,7 @@ name: build devcontainer image
 'on':
 'on':
   push:
   push:
     branches:
     branches:
-      - master
+      - 6.0
   # Allows you to run this workflow manually from the Actions tab
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
   workflow_dispatch:
     inputs:
     inputs:

+ 1 - 1
.github/workflows/main.yml

@@ -3,7 +3,7 @@ name: build
 'on':
 'on':
   push:
   push:
     branches:
     branches:
-      - master
+      - 6.0
   # Allows you to run this workflow manually from the Actions tab
   # Allows you to run this workflow manually from the Actions tab
   workflow_dispatch:
   workflow_dispatch:
 jobs:
 jobs: