Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ubuntu runner image to ubuntu-22.04 #375

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@ build --action_env=CC
build --action_env=CXX
build --action_env=PATH

# Use Clang compiler.
# Use Clang compiler with libc++.
build:clang --action_env=BAZEL_COMPILER=clang
build:clang --action_env=CC=clang
build:clang --action_env=CXX=clang++
build:clang --action_env=CXXFLAGS=-stdlib=libc++
build:clang --action_env=LDFLAGS=-stdlib=libc++
build:clang --action_env=BAZEL_CXXOPTS=-stdlib=libc++
build:clang --action_env=BAZEL_LINKLIBS=-l%:libc++.a:-l%:libc++abi.a
build:clang --action_env=BAZEL_LINKOPTS=-lm:-pthread

# Common flags for Clang sanitizers.
build:clang-xsan --config=clang
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
addlicense:
name: verify licenses

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand All @@ -61,7 +61,7 @@ jobs:
buildifier:
name: check format with buildifier

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
clang_format:
name: check format with clang-format

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand All @@ -121,7 +121,7 @@ jobs:
clang_tidy:
name: check format with clang-tidy

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
test_data:
name: build test data

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -109,19 +109,19 @@ jobs:
include:
- name: 'NullVM on Linux/x86_64'
engine: 'null'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=gcc
- name: 'NullVM on Linux/x86_64 with ASan'
engine: 'null'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang-asan-strict --define=crypto=system
- name: 'NullVM on Linux/x86_64 with TSan'
engine: 'null'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang-tsan
Expand All @@ -134,39 +134,39 @@ jobs:
- name: 'V8 on Linux/x86_64'
engine: 'v8'
repo: 'v8'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang --define=crypto=system
cache: true
- name: 'V8 on Linux/x86_64 with ASan'
engine: 'v8'
repo: 'v8'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang-asan
cache: true
- name: 'V8 on Linux/x86_64 with TSan'
engine: 'v8'
repo: 'v8'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang-tsan
cache: true
- name: 'V8 on Linux/x86_64 with GCC'
engine: 'v8'
repo: 'v8'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=gcc
cache: true
- name: 'V8 on Linux/aarch64'
engine: 'v8'
repo: 'v8'
os: ubuntu-20.04
os: ubuntu-22.04
arch: aarch64
action: test
targets: -//test/fuzz/...
Expand All @@ -183,7 +183,7 @@ jobs:
- name: 'WAMR interp on Linux/x86_64'
engine: 'wamr-interp'
repo: 'com_github_bytecodealliance_wasm_micro_runtime'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang
Expand All @@ -196,7 +196,7 @@ jobs:
- name: 'WAMR jit on Linux/x86_64'
engine: 'wamr-jit'
repo: 'com_github_bytecodealliance_wasm_micro_runtime'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang
Expand All @@ -212,7 +212,7 @@ jobs:
- name: 'WasmEdge on Linux/x86_64'
engine: 'wasmedge'
repo: 'com_github_wasmedge_wasmedge'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang
Expand All @@ -225,29 +225,29 @@ jobs:
- name: 'Wasmtime on Linux/x86_64'
engine: 'wasmtime'
repo: 'com_github_bytecodealliance_wasmtime'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang -c opt
- name: 'Wasmtime on Linux/x86_64 with ASan'
engine: 'wasmtime'
repo: 'com_github_bytecodealliance_wasmtime'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang-asan-strict --define=crypto=system
- name: 'Wasmtime on Linux/aarch64'
engine: 'wasmtime'
repo: 'com_github_bytecodealliance_wasmtime'
os: ubuntu-20.04
os: ubuntu-22.04
arch: aarch64
action: build
flags: --config=zig-cc-linux-aarch64
deps: qemu-user-static libc6-arm64-cross
- name: 'Wasmtime on Linux/s390x'
engine: 'wasmtime'
repo: 'com_github_bytecodealliance_wasmtime'
os: ubuntu-20.04
os: ubuntu-22.04
arch: s390x
action: test
flags: --config=clang --test_timeout=1800
Expand All @@ -269,7 +269,7 @@ jobs:
- name: 'WAVM on Linux/x86_64'
engine: 'wavm'
repo: 'com_github_wavm_wavm'
os: ubuntu-20.04
os: ubuntu-22.04
arch: x86_64
action: test
flags: --config=clang
Expand Down
Loading