all the rubies, plus all the arches #32
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: Linux - x86_64 - build from dockerhub builder | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
PKG_DATE: 20241122 | |
jobs: | |
make-ubuntu-x86_64: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby-version: [3.1.6, 3.2.6, 3.3.6] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Set up Ruby" | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: package | |
run: | | |
cd linux | |
rake | |
ls | |
env: | |
ARCHITECTURES: "x86_64" | |
RUBY_VERSIONS: ${{ matrix.ruby-version }} | |
- name: package gems | |
run: ./scripts/package-gems.sh | |
env: | |
PLATFORM: linux | |
- name: 'Upload Artifact - linux x86_64' | |
uses: actions/upload-artifact@v3 | |
with: | |
name: traveling-ruby-${{ env.PKG_DATE }}-${{ matrix.ruby-version }}-linux-x86_64.tar.gz | |
path: linux/traveling-ruby*.tar.gz | |
- name: test | |
run: | | |
cd linux | |
rake test_docker | |
env: | |
ARCHITECTURES: "x86_64" | |
RUBY_VERSIONS: ${{ matrix.ruby-version }} |