change default num of io eventloop to NumCPU()/4 or 1 #604
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: Autobahn | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
jobs: | |
Autobahn: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
go: [ 1.18.x ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Autobahn Test | |
env: | |
CRYPTOGRAPHY_ALLOW_OPENSSL_102: yes | |
run: | | |
chmod +x ./autobahn/script/run.sh & ./autobahn/script/run.sh | |
- name: Autobahn Report Artifact | |
if: >- | |
startsWith(matrix.os, 'ubuntu') | |
uses: actions/upload-artifact@v2 | |
with: | |
name: autobahn report ${{ matrix.go }} ${{ matrix.os }} | |
path: autobahn/report | |
retention-days: 7 |