diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 91064150..430790cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,14 +5,12 @@ on: [push, pull_request] jobs: MRI: name: ${{ matrix.os }} ruby-${{ matrix.ruby }} - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.os }}-latest strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-11, windows-2022] - ruby: [ '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', head] - include: - - { os: windows-2022 , ruby: mswin } + os: ['ubuntu', 'macos', 'windows'] + ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4', head] steps: - uses: actions/checkout@v4 - name: Set up Ruby ${{ matrix.ruby }} @@ -59,7 +57,7 @@ jobs: sudo apt-get -y install podman podman pull fedora:rawhide - name: Get source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: 'numo-narray' - name: Create container and run tests @@ -75,6 +73,7 @@ jobs: echo 'RUN gem build numo-narray.gemspec' echo 'RUN gem install numo-narray-*.gem' echo 'RUN bundle install' + echo 'RUN bundle exec rake compile' echo 'RUN bundle exec rake test' } > podmanfile podman build --tag fedora_test -f ./podmanfile