Skip to content

Commit

Permalink
Fix runner
Browse files Browse the repository at this point in the history
Summary:
Thanks @clee

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
  • Loading branch information
c-p-i-o committed Dec 13, 2024
1 parent d33802f commit ced02bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,30 @@ on:
jobs:
build-linux:
name: build on ubuntu
runs-on: ubuntu latest
runs-on: ubuntu-latest
strategy:
matrix:
openssl: [true, false]
gcc-version: [5, 7]

steps:
- name: Checkout code
uses: action/checkout@v4
uses: actions/checkout@v4
- name: Setup environment
run: |
if [ {{ matrix.openssl }} = "true" ]; then
sudo apt-get install -y libssl-dev
fi
- name: Install libuv
run: |
apt-get install -y wget pkg-config
wget -q -O libuv-v1.49.2.tar.gz https://dist.libuv.org/dist/v1.26.0/libuv-v1.26.0.tar.gz
sudo apt-get install -y wget pkg-config
wget -q -O libuv-v1.49.2.tar.gz https://dist.libuv.org/dist/v1.49.2/libuv-v1.49.2.tar.gz
tar xf libuv-v1.49.2.tar.gz
cd libuv-v1.49.2
mkdir -p build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local
make install
sudo make install
- name: Install googletest
run: |
wget -q -O googletest-release-1.15.2.tar.gz googletest-1.15.2.tar.gz
Expand All @@ -42,7 +42,7 @@ jobs:
mkdir -p build
cd build
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr/local
make install
sudo make install
- name: Build
run: |
export CC=gcc-${{ matrix.gcc-version }}
Expand Down

0 comments on commit ced02bd

Please sign in to comment.