Update c-cpp.yml

pull/22/head
SChernykh 3 years ago
parent ce8ec3860d
commit 333cfbefaf

@ -20,19 +20,22 @@ jobs:
with:
submodules: true
- name: cmake p2pool
run: mkdir build && cd build && cmake ..
- name: make p2pool
run: cd build && make -j2
- name: cmake tests
run: cd tests && mkdir build && cd build && cmake ..
- name: Build p2pool
run: |
mkdir build
cd build
cmake ..
make -j2
- name: make tests
run: cd tests/build && make -j2
- name: Build tests
run: |
cd tests
mkdir build
cd build
cmake ..
make -j2
- name: run tests
- name: Run tests
run: cd tests/build && ./p2pool_tests
build-windows-msys2:
@ -143,3 +146,36 @@ jobs:
run: |
cd tests/build
./p2pool_tests
build-macos-11:
runs-on: macos-11
steps:
- name: Checkout repository
uses: actions/checkout@v2
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

Loading…
Cancel
Save