Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zxh0 committed Aug 11, 2023
1 parent a248004 commit 3bdfb27
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
branches: [ ci ]
pull_request:
branches: [ main ]
branches: [ ci ]

jobs:
test:
Expand All @@ -19,7 +19,7 @@ jobs:
steps:
- name: Install Dependencies
run: |
sudo apt install gcc-8 g++-8
sudo apt install gcc-9 g++-9
sudo apt install libgflags-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev
sudo apt install libsnappy-dev
Expand All @@ -36,7 +36,7 @@ jobs:
wget https://github.com/facebook/rocksdb/archive/refs/tags/v5.18.4.tar.gz
tar zxvf v5.18.4.tar.gz
cd rocksdb-5.18.4
make CC=gcc-8 CXX=g++-8 static_lib
make CC=gcc-9 CXX=g++-9 static_lib
- name: Setup go
uses: actions/setup-go@v2
Expand Down

0 comments on commit 3bdfb27

Please sign in to comment.