mirror of
https://github.com/norouter/norouter.git
synced 2025-12-24 13:17:54 +08:00
CI: Ubuntu 22.04
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
||||
main:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, macos-11]
|
||||
os: [ubuntu-22.04, macos-12]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
@@ -25,22 +25,22 @@ jobs:
|
||||
go mod verify
|
||||
go test -covermode=atomic -race -v github.com/norouter/norouter/...
|
||||
- name: "Install dependencies for running integration tests"
|
||||
if: matrix.os != 'macos-11'
|
||||
if: matrix.os != 'macos-12'
|
||||
run: sudo apt-get install -y vde2
|
||||
- name: "Integration: test-agent.sh"
|
||||
if: matrix.os != 'macos-11'
|
||||
if: matrix.os != 'macos-12'
|
||||
working-directory: go/src/github.com/norouter/norouter
|
||||
run: ./integration/test-agent.sh
|
||||
- name: "Integration: test-integration.sh"
|
||||
if: matrix.os != 'macos-11'
|
||||
if: matrix.os != 'macos-12'
|
||||
working-directory: go/src/github.com/norouter/norouter
|
||||
run: DEBUG=1 ./integration/test-integration.sh
|
||||
- name: "FYI: the maximum possible throughput of docker exec"
|
||||
if: matrix.os != 'macos-11'
|
||||
if: matrix.os != 'macos-12'
|
||||
working-directory: go/src/github.com/norouter/norouter
|
||||
run: ./integration/show-docker-exec-max-throughput.sh
|
||||
cross:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
|
||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -8,7 +8,7 @@ env:
|
||||
GO111MODULE: on
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
|
||||
Reference in New Issue
Block a user