Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 37 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,30 +50,58 @@ jobs:
sudo make install
cd ../

- name: Update submodules
# TODO re-enable this after https://github.com/woodser/monero-cpp/pull/95 and remove custom regtest build
# - name: Update submodules
# run: |
# git submodule update --init --recursive

# - name: Build monero
# run: |
# mkdir build
# cd external/monero-cpp/external/monero-project
# mkdir -p build/release
# cd build/release
# cmake -DSTATIC=ON -DBUILD_64=ON -DCMAKE_BUILD_TYPE=Release ../../
# make -j3 wallet cryptonote_protocol
# cd ../../../../../../

# - name: Build monero-cpp
# run: |
# cd external/monero-cpp
# mkdir -p build
# cd build
# cmake ..
# cmake --build .
# make -j3
# sudo cp libmonero-cpp.so /usr/lib/
# cd ../../../

# TODO remove regtest build
- name: Clone monero-cpp (regtest)
run: |
git submodule update --init --recursive
git clone -b regtest-env --single-branch --recurse-submodules https://github.com/everoddandeven/monero-cpp.git

- name: Build monero
- name: Build monero (regtest)
run: |
mkdir build
cd external/monero-cpp/external/monero-project
cd monero-cpp/external/monero-project
mkdir -p build/release
cd build/release
cmake -DSTATIC=ON -DBUILD_64=ON -DCMAKE_BUILD_TYPE=Release ../../
make -j3 wallet cryptonote_protocol
cd ../../../../../../
cd ../../../../../

- name: Build monero-cpp
- name: Install monero-cpp (regtest)
run: |
cd external/monero-cpp
cd monero-cpp
mkdir -p build
cd build
cmake ..
cmake --build .
make -j3
sudo cp libmonero-cpp.so /usr/lib/
cd ../../../
cd ../../
mkdir -p external
mv monero-cpp external/

- name: Install monero-python
run: |
Expand Down