mirror of
https://github.com/greatest-ape/aquatic.git
synced 2026-08-27 20:39:46 +00:00
github actions: rewrite file test action to fix ulimit; add timeouts
This commit is contained in:
@@ -11,9 +11,8 @@ env:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
|
||||
@@ -10,9 +10,13 @@ jobs:
|
||||
test-transfer-http:
|
||||
runs-on: ubuntu-latest
|
||||
name: "Test BitTorrent file transfer over HTTP (with and without TLS), UDP and WSS"
|
||||
timeout-minutes: 20
|
||||
container:
|
||||
image: rust:1-bullseye
|
||||
options: --ulimit memlock=524288:524288
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Test file transfers
|
||||
uses: ./.github/actions/test-transfer
|
||||
id: test_transfer
|
||||
id: test_transfer
|
||||
|
||||
Reference in New Issue
Block a user