forked from quic-go/quic-go
@@ -1,8 +1,8 @@
|
|||||||
version: 2.1
|
version: 2.1
|
||||||
executors:
|
executors:
|
||||||
test-go115:
|
test-go117:
|
||||||
docker:
|
docker:
|
||||||
- image: "cimg/go:1.15"
|
- image: "cimg/go:1.17"
|
||||||
environment:
|
environment:
|
||||||
runrace: true
|
runrace: true
|
||||||
TIMESCALE_FACTOR: 3
|
TIMESCALE_FACTOR: 3
|
||||||
@@ -15,7 +15,7 @@ executors:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
"test": &test
|
"test": &test
|
||||||
executor: test-go115
|
executor: test-go117
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: "Run self integration tests with qlog"
|
name: "Run self integration tests with qlog"
|
||||||
command: ginkgo -v -randomizeAllSpecs -trace integrationtests/self -- -qlog
|
command: ginkgo -v -randomizeAllSpecs -trace integrationtests/self -- -qlog
|
||||||
go115:
|
go117:
|
||||||
<<: *test
|
<<: *test
|
||||||
go116:
|
go116:
|
||||||
<<: *test
|
<<: *test
|
||||||
@@ -52,3 +52,4 @@ workflows:
|
|||||||
workflow:
|
workflow:
|
||||||
jobs:
|
jobs:
|
||||||
- go116
|
- go116
|
||||||
|
- go117
|
||||||
|
|||||||
2
.github/workflows/cross-compile.yml
vendored
2
.github/workflows/cross-compile.yml
vendored
@@ -4,7 +4,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
go: [ "1.16.x", "1.17.0-rc1" ]
|
go: [ "1.16.x", "1.17.x" ]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: "Cross Compilation (Go ${{matrix.go}})"
|
name: "Cross Compilation (Go ${{matrix.go}})"
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
2
.github/workflows/go-generate.yml
vendored
2
.github/workflows/go-generate.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: "1.16.x"
|
go-version: "1.17.x"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: go build
|
run: go build
|
||||||
- name: Install code generators
|
- name: Install code generators
|
||||||
|
|||||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: "1.16.x"
|
go-version: "1.17.x"
|
||||||
- name: Check that no non-test files import Ginkgo or Gomega
|
- name: Check that no non-test files import Ginkgo or Gomega
|
||||||
run: .github/workflows/no_ginkgo.sh
|
run: .github/workflows/no_ginkgo.sh
|
||||||
- name: Check that go.mod is tidied
|
- name: Check that go.mod is tidied
|
||||||
|
|||||||
2
.github/workflows/unit.yml
vendored
2
.github/workflows/unit.yml
vendored
@@ -7,7 +7,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ "ubuntu", "windows", "macos" ]
|
os: [ "ubuntu", "windows", "macos" ]
|
||||||
go: [ "1.16.x", "1.17.0-rc1" ]
|
go: [ "1.16.x", "1.17.x" ]
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}-latest
|
||||||
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
|
name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ In addition to RFC 9000, it currently implements the [IETF QUIC draft-29](https:
|
|||||||
|
|
||||||
## Guides
|
## Guides
|
||||||
|
|
||||||
*We currently support Go 1.15.x, Go 1.16.x and Go 1.17 Beta 1, with [Go modules](https://github.com/golang/go/wiki/Modules) support enabled.*
|
*We currently support Go 1.16.x and Go 1.17.x.*
|
||||||
|
|
||||||
Running tests:
|
Running tests:
|
||||||
|
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -8,7 +8,7 @@ require (
|
|||||||
github.com/golang/mock v1.6.0
|
github.com/golang/mock v1.6.0
|
||||||
github.com/marten-seemann/qpack v0.2.1
|
github.com/marten-seemann/qpack v0.2.1
|
||||||
github.com/marten-seemann/qtls-go1-16 v0.1.4
|
github.com/marten-seemann/qtls-go1-16 v0.1.4
|
||||||
github.com/marten-seemann/qtls-go1-17 v0.1.0-rc.1
|
github.com/marten-seemann/qtls-go1-17 v0.1.0
|
||||||
github.com/onsi/ginkgo v1.16.4
|
github.com/onsi/ginkgo v1.16.4
|
||||||
github.com/onsi/gomega v1.13.0
|
github.com/onsi/gomega v1.13.0
|
||||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
|
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
|
||||||
|
|||||||
4
go.sum
4
go.sum
@@ -83,8 +83,8 @@ github.com/marten-seemann/qpack v0.2.1/go.mod h1:F7Gl5L1jIgN1D11ucXefiuJS9UMVP2o
|
|||||||
github.com/marten-seemann/qtls-go1-15 v0.1.4/go.mod h1:GyFwywLKkRt+6mfU99csTEY1joMZz5vmB1WNZH3P81I=
|
github.com/marten-seemann/qtls-go1-15 v0.1.4/go.mod h1:GyFwywLKkRt+6mfU99csTEY1joMZz5vmB1WNZH3P81I=
|
||||||
github.com/marten-seemann/qtls-go1-16 v0.1.4 h1:xbHbOGGhrenVtII6Co8akhLEdrawwB2iHl5yhJRpnco=
|
github.com/marten-seemann/qtls-go1-16 v0.1.4 h1:xbHbOGGhrenVtII6Co8akhLEdrawwB2iHl5yhJRpnco=
|
||||||
github.com/marten-seemann/qtls-go1-16 v0.1.4/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk=
|
github.com/marten-seemann/qtls-go1-16 v0.1.4/go.mod h1:gNpI2Ol+lRS3WwSOtIUUtRwZEQMXjYK+dQSBFbethAk=
|
||||||
github.com/marten-seemann/qtls-go1-17 v0.1.0-rc.1 h1:/rpmWuGvceLwwWuaKPdjpR4JJEUH0tq64/I3hvzaNLM=
|
github.com/marten-seemann/qtls-go1-17 v0.1.0 h1:P9ggrs5xtwiqXv/FHNwntmuLMNq3KaSIG93AtAZ48xk=
|
||||||
github.com/marten-seemann/qtls-go1-17 v0.1.0-rc.1/go.mod h1:fz4HIxByo+LlWcreM4CZOYNuz3taBQ8rN2X6FqvaWo8=
|
github.com/marten-seemann/qtls-go1-17 v0.1.0/go.mod h1:fz4HIxByo+LlWcreM4CZOYNuz3taBQ8rN2X6FqvaWo8=
|
||||||
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
|
||||||
github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4=
|
github.com/microcosm-cc/bluemonday v1.0.1/go.mod h1:hsXNsILzKxV+sX77C5b8FSuKF00vh2OMYv+xgHpAMF4=
|
||||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ FROM martenseemann/quic-network-simulator-endpoint:latest AS builder
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y wget tar git
|
RUN apt-get update && apt-get install -y wget tar git
|
||||||
|
|
||||||
RUN wget https://dl.google.com/go/go1.16.linux-amd64.tar.gz && \
|
RUN wget https://dl.google.com/go/go1.17.linux-amd64.tar.gz && \
|
||||||
tar xfz go1.16.linux-amd64.tar.gz && \
|
tar xfz go1.17.linux-amd64.tar.gz && \
|
||||||
rm go1.16.linux-amd64.tar.gz
|
rm go1.17.linux-amd64.tar.gz
|
||||||
|
|
||||||
ENV PATH="/go/bin:${PATH}"
|
ENV PATH="/go/bin:${PATH}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user