Add --enable-static option to link icu4c libraries statically #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}" |