Fix broken apt install on CI #66
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: master | |
pull_request: | |
branches: master | |
jobs: | |
test: | |
strategy: | |
matrix: | |
rust: [stable, beta, nightly] | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{ matrix.rust }} | |
profile: minimal | |
override: true | |
- name: Install 3proxy | |
run: | | |
sudo apt-get update | |
curl -OL https://github.com/z3APA3A/3proxy/releases/download/0.9.3/3proxy-0.9.3.x86_64.deb | |
sudo dpkg -i 3proxy-0.9.3.x86_64.deb | |
sudo apt-get install socat -y | |
- name: Run tests | |
run: | | |
cargo build --examples | |
cargo build --verbose --all | |
cargo test --lib --verbose | |
tests/integration_tests.sh |