Skip to content

Test on aarch64 Ubuntu #765

Test on aarch64 Ubuntu

Test on aarch64 Ubuntu #765

Workflow file for this run

name: CI
on:
- push
- pull_request
- workflow_dispatch
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby-jruby
min_version: 2.7
host:
needs: ruby-versions
name: ${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-13
- macos-14
- windows-latest
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
arch: amd64

Check failure on line 28 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 28, Col: 15): Unexpected value 'amd64'
include:
- { os: ubuntu-latest , ruby: 3.4 , arch: arm64 }
- { os: windows-latest , ruby: mswin } # ruby/ruby windows CI
- { os: ubuntu-latest , ruby: jruby-9.4 } # Ruby 3.1
- { os: macos-latest , ruby: truffleruby-head }
- { os: ubuntu-latest , ruby: truffleruby-head }
exclude:
- { os: windows-latest, ruby: jruby }
- { os: windows-latest, ruby: jruby-head }
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
apt-get: ragel
brew: ragel
- run: |
bundle config --without benchmark
bundle install
- run: rake compile
- run: rake test JSON_COMPACT=1
- run: rake build
- run: gem install pkg/*.gem
if: ${{ matrix.ruby != '3.2' }}
valgrind:
name: Ruby memcheck
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby-pkgs@v1
with:
ruby-version: "3.3"
apt-get: ragel valgrind
- run: |
bundle config --without benchmark
bundle install
- run: rake compile
- run: rake valgrind JSON_COMPACT=1