Skip to content

Move linking flags to build.rs to help with non-cargo build systems #480

Move linking flags to build.rs to help with non-cargo build systems

Move linking flags to build.rs to help with non-cargo build systems #480

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: "43 7 * * 0"
jobs:
test-default-features:
runs-on: ubuntu-latest
strategy:
matrix:
icu_version: [63, 71, 72, 73]
steps:
- uses: actions/checkout@v2
- name: 'Test ICU version ${{ matrix.icu_version }}'
run: 'make DOCKER_TEST_ENV=rust_icu_testenv-${{ matrix.icu_version}} docker-test'
test-with-features:
runs-on: ubuntu-latest
strategy:
matrix:
icu_version: [71, 72, 73]
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:
- uses: actions/checkout@v2
- name: 'Test static-bindgen'
run: 'make static-bindgen'