Skip to content

Commit fd0d1bc

Browse files
committed
Update cmake.yml
1 parent 53dc0c1 commit fd0d1bc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/cmake.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ jobs:
3131
#
3232
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
3333
matrix:
34-
os: [ubuntu-latest, windows-latest, macOS-latest]
34+
os: [ubuntu-20.04, windows-latest, macOS-latest]
3535
build_type: ${{ fromJSON(format('[{0}]', inputs.build_type || '"Debug","Release"')) }}
3636
c_compiler: [gcc, clang, cl]
3737
include:
3838
- os: windows-latest
3939
c_compiler: cl
4040
cpp_compiler: cl
41-
- os: ubuntu-latest
41+
- os: ubuntu-20.04
4242
c_compiler: gcc
4343
cpp_compiler: g++
44-
- os: ubuntu-latest
44+
- os: ubuntu-20.04
4545
c_compiler: clang
4646
cpp_compiler: clang++
4747
- os: macOS-latest
@@ -52,7 +52,7 @@ jobs:
5252
c_compiler: gcc
5353
- os: windows-latest
5454
c_compiler: clang
55-
- os: ubuntu-latest
55+
- os: ubuntu-20.04
5656
c_compiler: cl
5757
- os: macOS-latest
5858
c_compiler: cl
@@ -72,7 +72,7 @@ jobs:
7272
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
7373
7474
- name: Install Clang and Libraries
75-
if: matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'clang'
75+
if: matrix.os == 'ubuntu-20.04' && matrix.c_compiler == 'clang'
7676
run: |
7777
sudo apt-get update
7878
sudo apt-get install -y clang libc++-dev libc++abi-dev
@@ -86,7 +86,7 @@ jobs:
8686
sudo update-alternatives --set clang++ /usr/bin/clang++-16
8787
8888
- name: Check Clang Settings
89-
if: matrix.os == 'ubuntu-latest' && matrix.c_compiler == 'clang'
89+
if: matrix.os == 'ubuntu-20.04' && matrix.c_compiler == 'clang'
9090
run: |
9191
clang --version
9292
clang++ --version
@@ -130,4 +130,4 @@ jobs:
130130
name: ga-cpp-sdk-${{ matrix.os }}-${{ matrix.c_compiler }}-${{ matrix.build_type }}
131131
path: ${{ steps.strings.outputs.build-output-dir }}/package/
132132
retention-days: 3
133-
133+

0 commit comments

Comments
 (0)