ci: use `runs-on: ubuntu-20.04` consistently
parent
4bdeb761de
commit
2e8f187819
|
@ -8,7 +8,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-linux:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
compiler: [gcc]
|
compiler: [gcc]
|
||||||
|
@ -100,7 +100,7 @@ jobs:
|
||||||
release:
|
release:
|
||||||
name: Create Github Release
|
name: Create Github Release
|
||||||
needs: [build-linux, build-windows, build-macos]
|
needs: [build-linux, build-windows, build-macos]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Get short tag name
|
- name: Get short tag name
|
||||||
uses: jungwinter/split@v1
|
uses: jungwinter/split@v1
|
||||||
|
@ -121,7 +121,7 @@ jobs:
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: [release]
|
needs: [release]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: [linux, macos, windows]
|
version: [linux, macos, windows]
|
||||||
|
|
|
@ -10,7 +10,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
code-formatting:
|
code-formatting:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc
|
VFLAGS: -cc tcc
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
run: ./v -silent test-fmt
|
run: ./v -silent test-fmt
|
||||||
|
|
||||||
# v-fmt:
|
# v-fmt:
|
||||||
# runs-on: ubuntu-18.04
|
# runs-on: ubuntu-20.04
|
||||||
# timeout-minutes: 30
|
# timeout-minutes: 30
|
||||||
# steps:
|
# steps:
|
||||||
# - uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
# run: echo "TODO" #./v test-fmt
|
# run: echo "TODO" #./v test-fmt
|
||||||
|
|
||||||
performance-regressions:
|
performance-regressions:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc gcc
|
VFLAGS: -cc gcc
|
||||||
|
@ -68,7 +68,7 @@ jobs:
|
||||||
run: cmd/tools/repeat --max_time 750 --series 3 --count 15 --nmaxs 5 --warmup 3 --fail_percent 10 -t '{T} -show-timings -o v.c cmd/v' ./v ./vmaster/v
|
run: cmd/tools/repeat --max_time 750 --series 3 --count 15 --nmaxs 5 --warmup 3 --fail_percent 10 -t '{T} -show-timings -o v.c cmd/v' ./v ./vmaster/v
|
||||||
|
|
||||||
ubuntu-tcc:
|
ubuntu-tcc:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc
|
VFLAGS: -cc tcc
|
||||||
|
@ -118,7 +118,7 @@ jobs:
|
||||||
# Alpine docker pre-built container
|
# Alpine docker pre-built container
|
||||||
alpine-docker-musl-gcc:
|
alpine-docker-musl-gcc:
|
||||||
name: alpine-musl
|
name: alpine-musl
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
container:
|
container:
|
||||||
image: thevlang/vlang:alpine-build
|
image: thevlang/vlang:alpine-build
|
||||||
|
@ -216,7 +216,7 @@ jobs:
|
||||||
../v run examples/build_examples.vsh
|
../v run examples/build_examples.vsh
|
||||||
|
|
||||||
ubuntu:
|
ubuntu:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -306,7 +306,7 @@ jobs:
|
||||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
ubuntu-clang:
|
ubuntu-clang:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
|
@ -378,7 +378,7 @@ jobs:
|
||||||
ls
|
ls
|
||||||
|
|
||||||
tests-sanitize-undefined:
|
tests-sanitize-undefined:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
|
@ -401,7 +401,7 @@ jobs:
|
||||||
run: ./v -cc clang -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-fixed
|
run: ./v -cc clang -cflags "-fsanitize=undefined" -o v2 cmd/v && ./v2 -cflags -fsanitize=undefined test-fixed
|
||||||
|
|
||||||
tests-sanitize-address:
|
tests-sanitize-address:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
|
@ -424,7 +424,7 @@ jobs:
|
||||||
run: ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-fixed
|
run: ASAN_OPTIONS=detect_leaks=0 ./v -cflags -fsanitize=address test-fixed
|
||||||
|
|
||||||
tests-sanitize-memory:
|
tests-sanitize-memory:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc clang
|
VFLAGS: -cc clang
|
||||||
|
@ -447,7 +447,7 @@ jobs:
|
||||||
run: ./v -cflags -fsanitize=memory test-fixed
|
run: ./v -cflags -fsanitize=memory test-fixed
|
||||||
|
|
||||||
# ubuntu-autofree-selfcompile:
|
# ubuntu-autofree-selfcompile:
|
||||||
# runs-on: ubuntu-18.04
|
# runs-on: ubuntu-20.04
|
||||||
# timeout-minutes: 30
|
# timeout-minutes: 30
|
||||||
# env:
|
# env:
|
||||||
# VFLAGS: -cc gcc
|
# VFLAGS: -cc gcc
|
||||||
|
@ -462,7 +462,7 @@ jobs:
|
||||||
# Ubuntu docker pre-built container
|
# Ubuntu docker pre-built container
|
||||||
ubuntu-musl:
|
ubuntu-musl:
|
||||||
name: ubuntu-musl
|
name: ubuntu-musl
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
container:
|
container:
|
||||||
image: thevlang/vlang:ubuntu-build
|
image: thevlang/vlang:ubuntu-build
|
||||||
|
@ -484,7 +484,7 @@ jobs:
|
||||||
./v -silent test-fixed
|
./v -silent test-fixed
|
||||||
|
|
||||||
# ubuntu-musl:
|
# ubuntu-musl:
|
||||||
# runs-on: ubuntu-18.04
|
# runs-on: ubuntu-20.04
|
||||||
# timeout-minutes: 30
|
# timeout-minutes: 30
|
||||||
# env:
|
# env:
|
||||||
# VFLAGS: -cc musl-gcc
|
# VFLAGS: -cc musl-gcc
|
||||||
|
@ -512,7 +512,7 @@ jobs:
|
||||||
# run: ./v -silent test-fixed
|
# run: ./v -silent test-fixed
|
||||||
|
|
||||||
ubuntu-llvm-mingw:
|
ubuntu-llvm-mingw:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -626,7 +626,7 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
compilable-v-c-and-v-win-c:
|
compilable-v-c-and-v-win-c:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -662,7 +662,7 @@ jobs:
|
||||||
ls -lart examples/2048/2048.exe
|
ls -lart examples/2048/2048.exe
|
||||||
|
|
||||||
ubuntu-c-plus-plus:
|
ubuntu-c-plus-plus:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -684,7 +684,7 @@ jobs:
|
||||||
## run: ./v -cc g++-9 -silent test-fixed
|
## run: ./v -cc g++-9 -silent test-fixed
|
||||||
|
|
||||||
install-modules:
|
install-modules:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -698,7 +698,7 @@ jobs:
|
||||||
./v install nedpals.args
|
./v install nedpals.args
|
||||||
|
|
||||||
gitly-compiles:
|
gitly-compiles:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -718,7 +718,7 @@ jobs:
|
||||||
|
|
||||||
websocket_autobahn:
|
websocket_autobahn:
|
||||||
name: Autobahn integrations tests
|
name: Autobahn integrations tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -773,7 +773,7 @@ jobs:
|
||||||
|
|
||||||
parser-silent:
|
parser-silent:
|
||||||
name: Parser silent mode
|
name: Parser silent mode
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -792,7 +792,7 @@ jobs:
|
||||||
|
|
||||||
parser-silent-fuzzing:
|
parser-silent-fuzzing:
|
||||||
name: Parser silent mode fuzzing
|
name: Parser silent mode fuzzing
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -817,7 +817,7 @@ jobs:
|
||||||
./v test-parser examples/2048/2048_fuzz.v
|
./v test-parser examples/2048/2048_fuzz.v
|
||||||
|
|
||||||
v-up-works-on-ubuntu:
|
v-up-works-on-ubuntu:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
VFLAGS: -cc tcc
|
VFLAGS: -cc tcc
|
||||||
|
@ -839,7 +839,7 @@ jobs:
|
||||||
./v2 -o v3 cmd/v
|
./v2 -o v3 cmd/v
|
||||||
|
|
||||||
vls-compiles:
|
vls-compiles:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -853,7 +853,7 @@ jobs:
|
||||||
run: cd vls; ../v -prod cmd/vls ; cd ..
|
run: cd vls; ../v -prod cmd/vls ; cd ..
|
||||||
|
|
||||||
vab-compiles:
|
vab-compiles:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -6,7 +6,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
network-tests-ubuntu:
|
network-tests-ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
env:
|
env:
|
||||||
V_CI_PERIODIC: 1
|
V_CI_PERIODIC: 1
|
||||||
|
|
|
@ -4,7 +4,7 @@ on:
|
||||||
types: [edited, published]
|
types: [edited, published]
|
||||||
jobs:
|
jobs:
|
||||||
ubuntu:
|
ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
Loading…
Reference in New Issue