Update c-cpp.yml

This commit is contained in:
SChernykh 2021-09-07 15:49:55 +02:00
parent 7ea1913a9d
commit 3244925c66

View file

@ -9,7 +9,11 @@ on:
jobs: jobs:
build-ubuntu: build-ubuntu:
runs-on: ubuntu-latest runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ubuntu-18.04]
steps: steps:
- name: Install dependencies - name: Install dependencies
@ -116,40 +120,11 @@ jobs:
build-macos: build-macos:
runs-on: macOS-latest runs-on: ${{ matrix.os }}
steps: strategy:
- name: Checkout repository matrix:
uses: actions/checkout@v2 os: [macos-latest, macos-11]
with:
submodules: recursive
- name: Install dependencies
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake libuv zmq libpgm
- name: Build p2pool
run: |
mkdir build
cd build
cmake ..
make -j3
- name: Build tests
run: |
cd tests
mkdir build
cd build
cmake ..
make -j3
- name: Run tests
run: |
cd tests/build
./p2pool_tests
build-macos-11:
runs-on: macos-11
steps: steps:
- name: Checkout repository - name: Checkout repository