Skip to content

Add --enable-static option to link icu4c libraries statically #18

Add --enable-static option to link icu4c libraries statically

Add --enable-static option to link icu4c libraries statically #18

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [macos]
ruby: [ '3.2', '3.3' ]
compile_opt: [""]
include:
- ruby: "3.3"
compile_opt: "ENABLE_STATIC=1"
steps:
- name: icu4c
run: brew install icu4c
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: "Run tests with compile_opt: ${{ matrix.compile_opt }}, rubyopt: ${{ matrix.rubyopt }}"
run: bundle exec ${{ matrix.compile_opt }} rake RUBYOPT="${{ matrix.rubyopt }}"