Skip to content

Commit 1f9ebd7

Browse files
qicosmoshuiguangjun
authored andcommitted
fix ci for gcc/clang
1 parent 31e5e03 commit 1f9ebd7

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.github/workflows/linux-clang.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
steps:
1818
- name: check out
1919
uses: actions/checkout@v3
20-
20+
21+
- name: Install Dependencies
22+
run: |
23+
sudo apt-get install curl libssl-dev libcurl4-openssl-dev
24+
2125
- name: configure cmake
2226
run: CXX=clang++ CC=clang cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DCMAKE_CXX_STANDARD=${{ matrix.cpp_version }}
2327

.github/workflows/linux-gcc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ jobs:
1717
steps:
1818
- name: check out
1919
uses: actions/checkout@v3
20-
20+
21+
- name: Install Dependencies
22+
run: |
23+
sudo apt-get install curl libssl-dev libcurl4-openssl-dev
24+
2125
- name: checkout gcc version
2226
run: gcc --version
2327

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.cache
2+
build

0 commit comments

Comments
 (0)