mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
Update c-cpp.yml
This commit is contained in:
parent
ce8ec3860d
commit
333cfbefaf
1 changed files with 47 additions and 11 deletions
58
.github/workflows/c-cpp.yml
vendored
58
.github/workflows/c-cpp.yml
vendored
|
@ -20,19 +20,22 @@ jobs:
|
|||
with:
|
||||
submodules: true
|
||||
|
||||
- name: cmake p2pool
|
||||
run: mkdir build && cd build && cmake ..
|
||||
- name: Build p2pool
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j2
|
||||
|
||||
- name: make p2pool
|
||||
run: cd build && make -j2
|
||||
- name: Build tests
|
||||
run: |
|
||||
cd tests
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make -j2
|
||||
|
||||
- name: cmake tests
|
||||
run: cd tests && mkdir build && cd build && cmake ..
|
||||
|
||||
- name: make tests
|
||||
run: cd tests/build && 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…
Reference in a new issue