Skip to content
Merged
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
17 changes: 3 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
icu_version: [63, 73, 74]
icu_version: [74, 76, 77]
steps:
- uses: actions/checkout@v2
- name: 'Test ICU version ${{ matrix.icu_version }}'
Expand All @@ -24,25 +24,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
icu_version: [72, 73, 74]
icu_version: [74, 76, 77]
feature_set:
- "renaming,icu_version_in_env,icu_version_64_plus,icu_version_67_plus,icu_version_68_plus"
- "renaming,icu_version_64_plus,icu_version_67_plus,icu_version_68_plus,icu_config,use-bindgen"
steps:
- uses: actions/checkout@v2
- name: 'Test ICU version ${{ matrix.icu_version }}'
run: 'make DOCKER_TEST_ENV=rust_icu_testenv-${{ matrix.icu_version }} RUST_ICU_MAJOR_VERSION_NUMBER=${{ matrix.icu_version }} DOCKER_TEST_CARGO_TEST_ARGS="--no-default-features --features ${{ matrix.feature_set }}" docker-test'
test-nondefault-features:
runs-on: ubuntu-latest
strategy:
matrix:
icu_version: [63]
feature_set:
- "renaming,icu_version_in_env,icu_version_69_max"
steps:
- uses: actions/checkout@v2
- name: 'Test ICU version ${{ matrix.icu_version }}'
run: 'make DOCKER_TEST_ENV=rust_icu_testenv-${{ matrix.icu_version }} RUST_ICU_MAJOR_VERSION_NUMBER=${{ matrix.icu_version }} DOCKER_TEST_CARGO_TEST_ARGS="--no-default-features --features ${{ matrix.feature_set }}" docker-test'
test-bindgen:
runs-on: ubuntu-latest
steps:
Expand All @@ -66,7 +55,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
icu_version: [74]
icu_version: [77]
steps:
- uses: actions/checkout@v2
- name: 'Test ICU `main`'
Expand Down
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ CARGO_TARGET_DIR := ${TMP}/rust_icu-${LOGNAME}-target
# Pass different values for DOCKER_TEST_ENV and DOCKER_TEST_CARGO_TEST_ARGS to
# test different configurations. This is useful in Travis CI matrix tests, for
# example.
RUST_ICU_MAJOR_VERSION_NUMBER ?= 74
RUST_ICU_MAJOR_VERSION_NUMBER ?= 77
DOCKER_TEST_ENV ?= rust_icu_testenv-${RUST_ICU_MAJOR_VERSION_NUMBER}
DOCKER_TEST_CARGO_TEST_ARGS ?=
docker-test:
Expand Down Expand Up @@ -123,7 +123,9 @@ static-bindgen: \
static-bindgen-71.stamp \
static-bindgen-72.stamp \
static-bindgen-73.stamp \
static-bindgen-74.stamp
static-bindgen-74.stamp \
static-bindgen-76.stamp \
static-bindgen-77.stamp
.PHONY: static-bindgen


Expand All @@ -149,7 +151,9 @@ static-bindgen-special-%.stamp: rust_icu_sys/bindgen_special/run_bindgen.sh
static-bindgen-special: \
static-bindgen-special-72.stamp \
static-bindgen-special-73.stamp \
static-bindgen-special-74.stamp
static-bindgen-special-74.stamp \
static-bindgen-special-76.stamp \
static-bindgen-special-77.stamp
.PHONY: static-bindgen-special

# Builds and pushes the build environment containers. You would not normally
Expand Down
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,12 @@ The limitations we know of today are as follows:

# Compatibility

The compatibility guarantee is as follows:
Automated tests are executed for last three major ICU library versions in all
feature combinations of interest.

1. Automated tests are executed for last three major ICU library versions in all
feature combinations of interest.
2. Automated tests are executed for the ICU library version in use by the docs.rs
system (so the documentation could be built).

`rust_icu` version | ICU 63.x | ICU 73.1 | ICU 74.1 | ICU 75.0 | ICU 76.0 | ICU 77.0 |
-------------------- | -------- | -------- | -------- | -------- | -------- | -------- |
4.0 | ✅ | ✅ | | | | |
5.x | ✅ | ✅ | ✅ | | ✅ | ✅ |
`rust_icu` version | ICU 74.1 | ICU 75.0 | ICU 76.0 | ICU 77.0 |
-------------------- | -------- | -------- | -------- | -------- |
5.4.x | ✅ | | ✅ | ✅ |

# Features

Expand Down
Loading