Release 0.0.9 adding gpt-4o support via o200k_base encoding #29
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: cross-compile | |
on: [push] | |
jobs: | |
ci-data: | |
runs-on: ubuntu-latest | |
outputs: | |
result: ${{ steps.fetch.outputs.result }} | |
steps: | |
- uses: oxidize-rb/actions/fetch-ci-data@v1 | |
id: fetch | |
with: | |
supported-ruby-platforms: | | |
exclude: ['aarch64-linux-musl', 'x64-mingw32'] | |
stable-ruby-versions: | | |
exclude: [head] | |
cross-gem: | |
name: Compile native gem for ${{ matrix.platform }} | |
runs-on: ubuntu-latest | |
needs: ci-data | |
strategy: | |
matrix: | |
platform: ${{ fromJSON(needs.ci-data.outputs.result).supported-ruby-platforms }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.1" | |
- name: 'bundle install' | |
shell: bash | |
run: 'bundle install' | |
- uses: oxidize-rb/actions/cross-gem@v1 | |
id: cross-gem | |
with: | |
platform: ${{ matrix.platform }} | |
ruby-versions: ${{ join(fromJSON(needs.ci-data.outputs.result).stable-ruby-versions, ',') }} | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: cross-gem | |
path: ${{ steps.cross-gem.outputs.gem-path }} |