Skip to content

Commit a272c23

Browse files
authored
Move to Ubuntu-22.04 in CI tests (#646)
1 parent 36f8c44 commit a272c23

File tree

11 files changed

+15
-13
lines changed

11 files changed

+15
-13
lines changed

.github/scripts/ci-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [[ $arch == "x86_64" && $os == "linux" ]]; then
99
cargo test --features perf_counter
1010
fi
1111

12-
python examples/build.py
12+
./examples/build.py
1313

1414
ALL_PLANS=$(sed -n '/enum PlanSelector/,/}/p' src/util/options.rs | xargs | grep -o '{.*}' | grep -o '\w\+')
1515

.github/workflows/cargo-msrv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
jobs:
1414
msrv:
15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-22.04
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Install Rust toolchain

.github/workflows/cargo-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
jobs:
1414
cargo-publish:
15-
runs-on: ubuntu-18.04
15+
runs-on: ubuntu-22.04
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Install latest nightly

.github/workflows/mmtk-dev-env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
jobs:
1515
# Trigger ci.yml from mmtk/mmtk-dev-env to make sure mmtk-core can build with mmtk-dev-env.
1616
check-mmtk-dev-env:
17-
runs-on: ubuntu-18.04
17+
runs-on: ubuntu-22.04
1818
steps:
1919
- uses: convictional/[email protected]
2020
with:

.github/workflows/perf-compare-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
# Figure out the core PR. We need to get the specific commit and repo from a pull request number.
2727
mmtk-refs:
28-
runs-on: ubuntu-18.04
28+
runs-on: ubuntu-22.04
2929
outputs:
3030
mmtk_repo: ${{ steps.print.outputs.mmtk_repo }}
3131
mmtk-ref: ${{ steps.print.outputs.mmtk_ref }}

.github/workflows/post-review-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
.github/scripts/ci-style.sh
5555
5656
openjdk-binding-test:
57-
runs-on: ubuntu-18.04
57+
runs-on: ubuntu-22.04
5858
needs: binding-refs
5959
if: contains(github.event.pull_request.labels.*.name, 'PR-testing')
6060
steps:
@@ -85,7 +85,7 @@ jobs:
8585
./.github/scripts/ci-style.sh
8686
8787
jikesrvm-binding-test:
88-
runs-on: ubuntu-18.04
88+
runs-on: ubuntu-22.04
8989
needs: binding-refs
9090
if: contains(github.event.pull_request.labels.*.name, 'PR-testing')
9191
steps:

.github/workflows/pr-binding-refs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ on:
5252

5353
jobs:
5454
binding-refs:
55-
runs-on: ubuntu-18.04
55+
runs-on: ubuntu-latest
5656
outputs:
5757
openjdk_binding_repo: ${{ steps.print.outputs.openjdk_binding_repo }}
5858
openjdk_binding_ref: ${{ steps.print.outputs.openjdk_binding_ref }}

.github/workflows/pre-review-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
target:
34-
- { os: ubuntu-18.04, triple: x86_64-unknown-linux-gnu }
35-
- { os: ubuntu-18.04, triple: i686-unknown-linux-gnu }
34+
- { os: ubuntu-22.04, triple: x86_64-unknown-linux-gnu }
35+
- { os: ubuntu-22.04, triple: i686-unknown-linux-gnu }
3636
- { os: macos-12, triple: x86_64-apple-darwin }
3737
rust: ${{ fromJson(needs.setup-test-matrix.outputs.rust )}}
3838

.github/workflows/rustdoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
publish-rustdoc-as-ghpages:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Install nightly

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ malloc_counted_size = []
132132
# this does not replace the global Rust allocator, but provides these libraries for GC implementation
133133
malloc_mimalloc = ["mimalloc-sys"]
134134
malloc_jemalloc = ["jemalloc-sys"]
135+
135136
# Use the native mimalloc allocator for malloc. This is not tested by me (Yi) yet, and it is only used to make sure that some code
136137
# is not compiled in default builds.
137138
malloc_native_mimalloc = []

0 commit comments

Comments
 (0)