Skip to content

Commit d3aa7c2

Browse files
committed
Update cmake.yml
1 parent 3b24535 commit d3aa7c2

File tree

1 file changed

+5
-30
lines changed

1 file changed

+5
-30
lines changed

.github/workflows/cmake.yml

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,14 @@ on:
1616

1717
jobs:
1818
cmake_build:
19-
runs-on: ${{ matrix.os }}
19+
runs-on: ubuntu-22.04
2020

2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
os: [ubuntu-22.04, windows-latest, macos-latest]
2524
build_type: [Release]
26-
c_compiler: [gcc, clang, cl]
27-
include:
28-
- os: windows-latest
29-
c_compiler: cl
30-
cpp_compiler: cl
31-
- os: ubuntu-22.04
32-
c_compiler: gcc
33-
cpp_compiler: g++
34-
- os: ubuntu-22.04
35-
c_compiler: clang
36-
cpp_compiler: clang++
37-
- os: macos-latest
38-
c_compiler: clang
39-
cpp_compiler: clang++
40-
exclude:
41-
- os: windows-latest
42-
c_compiler: gcc
43-
- os: windows-latest
44-
c_compiler: clang
45-
- os: ubuntu-22.04
46-
c_compiler: cl
47-
- os: macos-latest
48-
c_compiler: cl
49-
- os: macos-latest
50-
c_compiler: gcc
25+
c_compiler: [clang]
26+
cpp_compiler: [clang++]
5127

5228
steps:
5329
- uses: actions/checkout@v4
@@ -60,7 +36,6 @@ jobs:
6036
run: echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
6137

6238
- name: Install Linux Dependencies
63-
if: matrix.os == 'ubuntu-22.04'
6439
run: |
6540
sudo apt-get update
6641
sudo apt-get install -y build-essential ninja-build cmake pkg-config
@@ -93,6 +68,6 @@ jobs:
9368
if: ${{ inputs.upload_artifacts && success() }}
9469
uses: actions/upload-artifact@v4
9570
with:
96-
name: ga-cpp-sdk-${{ matrix.os }}-${{ matrix.c_compiler }}-${{ matrix.build_type }}
71+
name: ga-cpp-sdk-linux-clang-${{ matrix.build_type }}
9772
path: ${{ steps.strings.outputs.build-output-dir }}/package/
98-
retention-days: 3
73+
retention-days: 3

0 commit comments

Comments
 (0)