all the rubies, plus all the arches #36
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: MacOS x86_64 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
PKG_DATE: 20241228 | |
PLATFORM: osx | |
ARCHITECTURES: x86_64 | |
DEVELOPER_DIR: /Applications/Xcode_15.2.app/Contents/Developer | |
jobs: | |
make-osx-x86_64: | |
strategy: | |
matrix: | |
os: [macos-13] | |
# ruby-version: [3.0.7] # Pre 3.1.0 builds with openssl 1.1.1 | |
ruby-version: [3.1.6, 3.2.6, 3.3.6, 3.4.1] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: download osx x86_64 runtime | |
run: ./scripts/download-osx-runtime.sh | |
env: | |
RUBY_VERSIONS: ${{ matrix.ruby-version }} | |
- name: build x86_64 | |
run: | | |
cd osx | |
rake stash_conflicting_paths | |
rake --trace | |
rake unstash_conflicting_paths | |
ls | |
env: | |
RUBY_VERSIONS: ${{ matrix.ruby-version }} | |
# - name: package osx x86_64 runtime | |
# run: ./scripts/package-osx-runtime.sh | |
# env: | |
# RUBY_VERSIONS: ${{ matrix.ruby-version }} | |
# - name: 'Upload Runtime - osx x86_64' | |
# uses: actions/upload-artifact@v3 | |
# with: | |
# name: osx-runtime-x86_64-gha-openssl_1_1.tar.gz | |
# path: osx/osx-runtime-*.tar.gz | |
- name: package gems | |
run: ./scripts/package-gems.sh | |
- name: "Upload Artifact- osx x86_64" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: traveling-ruby-${{ env.PKG_DATE }}-${{ matrix.ruby-version }}-osx-x86_64.tar.gz | |
path: osx/traveling-ruby*.tar.gz | |
- name: test | |
run: | | |
cd osx | |
rake test | |
env: | |
RUBY_VERSIONS: ${{ matrix.ruby-version }} |