mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-17 00:07:47 +00:00
Update c-cpp.yml
This commit is contained in:
parent
7ea1913a9d
commit
3244925c66
1 changed files with 10 additions and 35 deletions
45
.github/workflows/c-cpp.yml
vendored
45
.github/workflows/c-cpp.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue