Skip to content

Commit

Permalink
fixup libsnappy, tornado, mock
Browse files Browse the repository at this point in the history
  • Loading branch information
ploxiln committed Apr 25, 2020
1 parent 3b0296e commit 0e188f9
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Linux tests
name: CI

on:
push: {branches: [master]}
Expand Down Expand Up @@ -31,18 +31,14 @@ jobs:
wget "http://bitly-downloads.s3.amazonaws.com/nsq/${{matrix.nsq_dl}}.tar.gz"
tar zxvf "${{matrix.nsq_dl}}.tar.gz"
./${{matrix.nsq_dl}}/bin/nsqd --version
- name: Install Snappy
- name: Install System Dependencies
run: |
git clone https://github.com/google/snappy.git
cd snappy
git checkout 1.1.8
CFLAGS="-fPIC" CXXFLAGS="-fPIC" \
cmake -DCMAKE_INSTALL_PREFIX="/usr/local"
make install
cd ..
apt-get -q -y update
apt-get -q -y install libsnappy-dev
- name: Install Python Dependencies
run: |
pip install python-snappy pycurl pytest==4.4.2 flake8==3.7.9 tornado=${{matrix.tornado_ver}}
pip install python-snappy pycurl mock pytest==4.4.2 flake8==3.7.9 \
tornado==${{matrix.tornado_ver}}
- name: Lint
run: |
flake8 --version
Expand Down

0 comments on commit 0e188f9

Please sign in to comment.