mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-21 20:48:37 -04:00
Make it work on CI
This commit is contained in:
parent
e1d8a1c39b
commit
ae1ea08bb2
4 changed files with 54 additions and 24 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
@ -46,12 +46,20 @@ jobs:
|
|||
build_test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install tor
|
||||
run: sudo apt-get tor
|
||||
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install and stop tor in case it was running
|
||||
run: |
|
||||
sudo apt install software-properties-common
|
||||
sudo curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | sudo gpg --import
|
||||
sudo gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
|
||||
sudo add-apt-repository 'deb https://deb.torproject.org/torproject.org bionic main'
|
||||
sudo apt update
|
||||
sudo apt install tor deb.torproject.org-keyring
|
||||
sudo /etc/init.d/tor stop
|
||||
|
||||
- name: Install Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue