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
13 changes: 9 additions & 4 deletions .github/workflows/smoke_test_ffi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,28 @@ jobs:
ruby: [ "3.3" ]
# macos-14 is ARM-based
# macos-14-large is x86-based
# Ubuntu is not included because the full test suite runs on Ubuntu
os: [ macos-14, macos-14-large ]
# ubuntu-latest (x86) is not included because the full test suite runs on it
os: [ macos-14, macos-14-large, ubuntu-22.04-arm ]

runs-on: ${{ matrix.os }}

# Allows all jobs to run even if one fails
continue-on-error: true

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up the correct Gemfile for Ruby ${{ matrix.ruby }}
run: bin/link_gemfile "${{ matrix.ruby }}"
# Lock files are generated for a specific platform
- run: rm Gemfile.lock
- run: |
- name: Install system dependencies
if: runner.os == 'macOS'
run: |
brew install mysql postgresql
bundle config set build.mysql2 --with-opt-dir=$(brew --prefix zstd)
- name: Install system dependencies
if: runner.os == 'Linux'
run: "sudo apt-get install libmysqlclient-dev libpq-dev libcurl4-openssl-dev"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
1 change: 1 addition & 0 deletions tasklib/libzen.rake
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ LIBZENS = [
LibZen.new("arm64-darwin.dylib", "libzen_internals_aarch64-apple-darwin.dylib"),
LibZen.new("arm64-linux.so", "libzen_internals_aarch64-unknown-linux-gnu.so"),
LibZen.new("arm64-linux-musl.so", "libzen_internals_aarch64-unknown-linux-musl.so"),
LibZen.new("aarch64-linux.so", "libzen_internals_aarch64-unknown-linux-gnu.so"),
LibZen.new("x86_64-darwin.dylib", "libzen_internals_x86_64-apple-darwin.dylib"),
LibZen.new("x86_64-linux.so", "libzen_internals_x86_64-unknown-linux-gnu.so"),
LibZen.new("x86_64-linux-musl.so", "libzen_internals_x86_64-unknown-linux-musl.so"),
Expand Down