Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
75afdff
Bump Ruby version to 3.1.2
Jun 1, 2022
03c08c3
Update Gemfile.lock
scrill Jun 1, 2022
b5fb0ad
added support of arm64 architecture for OSX
LonelyWolf Jul 6, 2022
4fd8c3a
OSX: build supported on x86_64 and arm64 platforms
LonelyWolf Jul 9, 2022
240c3fe
Merge branch '3.1.2' of github.com:cloudaware/traveling-ruby
YOU54F Apr 5, 2023
96565e6
chore: Update Gemfile 20230529
YOU54F May 29, 2023
79aec14
chore: Update RUBY_VERSIONS.txt to create multiple versions
YOU54F May 29, 2023
79eb88d
chore: update BUNDLER_VERSION to 2.4.10
YOU54F May 29, 2023
d0a8562
chore: Update VERSION.txt 20230529
YOU54F May 29, 2023
b6cfb33
chore: rename script files to end with .sh
YOU54F May 29, 2023
1e55a2d
chore: osx deployment target
YOU54F May 29, 2023
402850d
chore(osx): add 14.2 xcode path
YOU54F May 29, 2023
fc691f2
chore(osx): enable sqlite, postgresql, mysql, disable warning supression
YOU54F May 29, 2023
32fd77a
chore(osx): osx build tweaks
YOU54F May 29, 2023
d2c2b45
chore(win): use 7zz on windows
YOU54F May 29, 2023
d461a7c
chore(scripts): add scripts to list, unpack and test all output versions
YOU54F May 29, 2023
9f26400
chore(win): enable multi-arch builds
YOU54F May 29, 2023
110d593
chore(linux): allow cpucount to pass on darwin for x-plat builds
YOU54F May 29, 2023
b8d1552
feat(linux): add linux-arm64 multi-version builds
YOU54F May 29, 2023
5ef4b0e
chore(linux): build libffi and libyaml from source
YOU54F May 29, 2023
c57980b
chore(linux): --disable-install-doc only, no readline on ruby 3, copy…
YOU54F May 29, 2023
4605558
chore(git): git ignores
YOU54F May 29, 2023
21da04a
chore: add parser to list versions
YOU54F May 29, 2023
5efa41b
chore(ci): cirrus multi builder WIP
YOU54F May 29, 2023
ea32bce
cirrus packing
YOU54F May 29, 2023
528f961
chore(ci): matrix version builder and mass builder
YOU54F May 29, 2023
fe1a347
ci(matrix-linux-arm64): test matrix-linux-arm64
YOU54F May 29, 2023
dc9d8e6
ci(matrix-linux-arm64): use docker next image with libffi and libyaml…
YOU54F May 30, 2023
e34c102
ci(matrix-linux-arm64): package all working ruby builds for arm64
YOU54F May 30, 2023
36839c0
ci(packager-linux-arm64): use next image
YOU54F May 30, 2023
94196b0
osx: working rakefile
YOU54F May 30, 2023
22d3d2d
ci(packager-linux): package all working ruby builds for linux
YOU54F May 30, 2023
35dbe35
ci(packager-linux): package all working ruby builds for linux
YOU54F May 30, 2023
6b00c8d
chore(test): remove output.txt
YOU54F May 30, 2023
6ea77ca
chore(ruby): create RUBY_VERSIONS.txt for platforms/archs
YOU54F May 30, 2023
6c4b285
chore(linux): ensure rake clean deletes new arch specific gems
YOU54F May 30, 2023
285428a
feat(osx): support multi-architecture builds without using emulation
YOU54F May 30, 2023
8f15316
ci(packager): windows and macos packagers
YOU54F May 30, 2023
4a1fc7f
feat(gems): update Gemfile to phusion/traveling-ruby state, exclude m…
YOU54F May 31, 2023
0497e5a
chore: reinstate linux Rakefile
YOU54F May 31, 2023
d22e087
chore(linux): bundle deprecated warning - set bundle config set local…
YOU54F May 31, 2023
98a7497
ci(packager-linux): test linux packager
YOU54F Jun 1, 2023
1b27884
ci(matrix): test matrix runners
YOU54F Jun 1, 2023
dd2ce9a
ci(matrix): test matrix runners
YOU54F Jun 1, 2023
93090d2
ci(matrix): split matrix runners to latest and alt
YOU54F Jun 1, 2023
39cbc97
ci(matrix): matrix runners for latest, and latest working
YOU54F Jun 1, 2023
0e30c06
ci(matrix): matrix upload task name gems
YOU54F Jun 1, 2023
c744ef5
ci(matrix): matrix upload task name gems
YOU54F Jun 1, 2023
fe8a340
ci(matrix): osx - update Rakefile to support running indiv ruby versions
YOU54F Jun 1, 2023
fb21fa7
ci(matrix-macos): osx - install bundler 2.4.10 - note osx unsets user…
YOU54F Jun 1, 2023
b492c7a
ci(matrix-macos): osx - cirrus image has rbenv so we need to set syst…
YOU54F Jun 1, 2023
ee7cca7
ci(matrix-macos): osx - skip mysql2/nokigiri - add gem platforms
YOU54F Jun 1, 2023
3aa8bff
chore(test): add support for testing additional pact gems
YOU54F Jun 2, 2023
f35c3a2
chore(osx): macosx dep target 12.2 + cmake osx arch env var
YOU54F Jun 2, 2023
72e8b2a
chore(osx): move ARCHITECTURE check to top of script, add DEPLOY_TARG…
YOU54F Jun 2, 2023
bbbe556
chore(osx): delete 21M libruby.3.2-static.a, reducing bundle size by …
YOU54F Jun 2, 2023
ff126e3
chore(osx): start supporting building x86_64 runtime on arm64 without…
YOU54F Jun 2, 2023
2190851
chore(osx): runtime built for x86_64 on arm64 host
YOU54F Jun 2, 2023
96036ae
chore(osx): pass deploy target when building ruby
YOU54F Jun 2, 2023
b5e91f4
chore(osx): use pre-packed/pre-published runtime
YOU54F Jun 2, 2023
ed49092
ci(matrix-macos): osx - reduce size of bundle
YOU54F Jun 2, 2023
3fd0d6b
ci(matrix): test out matrix
YOU54F Jun 3, 2023
61f6b13
ci(matrix-macos-arm64): publish arm64 assets
YOU54F Jun 3, 2023
f0b7491
ci(packager-windows): publish assets
YOU54F Jun 3, 2023
8cc1836
ci(matrix-macos-arm64): publish arm64 assets
YOU54F Jun 3, 2023
6169bbd
ci(matrix-macos-arm64): publish arm64 assets
YOU54F Jun 3, 2023
398fb21
feat(linux): aarch64 unofficial support via you54f/traveling-ruby
YOU54F Jun 3, 2023
684163c
chore(linux): correct CPUCOUNT
YOU54F Jun 4, 2023
98bcf22
feats(gems): perform ruby gems update on packaging
YOU54F Jun 4, 2023
616bba4
feat(linux): create and publish multi-arch Dockerfiles
YOU54F Jun 4, 2023
c6e98ab
feat(osx): add universal-darwin to bundle to support multi-arch
YOU54F Jun 4, 2023
e044bf1
feat(install): add CLI installer and GitHub Action
YOU54F Jun 4, 2023
a6d5712
chore(ci): remove system installed libs from runner
YOU54F Jun 5, 2023
3930fd0
chore(ci): remove system installed libs from runner
YOU54F Jun 5, 2023
63aa604
chore(ci): macos add versions matrix
YOU54F Jun 5, 2023
a2b36c2
chore(ci): homebrew ruby residual in path in step
YOU54F Jun 5, 2023
b1d0bbd
feat(linux): LinuxBrew multi-arch docker
YOU54F Jun 5, 2023
78a8a4f
chore(rel): 20230605
YOU54F Jun 5, 2023
3c05661
feat(linux): LinuxBrew multi-arch docker powered by traveling-ruby
YOU54F Jun 5, 2023
63f1cf9
ci(matrix): rel-20230601
YOU54F Jun 5, 2023
a51bea7
deps(gems): update rubygems to 3.3.3
YOU54F Jun 5, 2023
2712479
chore(ci): update tags to main
YOU54F Jun 5, 2023
726b60d
chore(matrix): multi-arch args osx/linux, renable sanity checks
YOU54F Jun 5, 2023
f806675
ci(matrix): produce -full bundle for macos/linux containing all nativ…
YOU54F Jun 5, 2023
1187675
deps(gems): force_ruby_platform as per bundler >2.3.14
YOU54F Jun 6, 2023
0f17024
chore: some cleanup
YOU54F Jun 6, 2023
dd97be1
chore(osx): nokogiri link to libxml2 headers, remove some files from …
YOU54F Jun 6, 2023
33ba5d1
chore(linux): update linuxbrew docker file
YOU54F Jun 6, 2023
6e90904
chore(install): setup installer to set first in GH path
YOU54F Jun 6, 2023
cc2a30f
chore(ci): split out test files
YOU54F Jun 6, 2023
e3f5805
chore(osx): download libxml2 from gnome https source
YOU54F Jun 6, 2023
76d922a
feat(linux): use shellchecked sh wrappers
YOU54F Jun 6, 2023
2738fe2
ci(matrix): rel-20230605
YOU54F Jun 6, 2023
95ac9a3
chore(rdoc): dont remove rdoc generators
YOU54F Jun 6, 2023
411d46c
ci(matrix): dont remove rdoc/provide support for installing gems at c…
YOU54F Jun 6, 2023
56aaa16
chore(install): make sh compliant
YOU54F Jun 7, 2023
bfa4886
chore(deps): bundler 2.4.18 plus Gemfile update - rel20230803
YOU54F Aug 3, 2023
faddec7
deps: ruby 3.3.0 / bundler 2.5.3
YOU54F Jan 16, 2024
0a1e1f4
deps: macos latest deps
YOU54F Jan 16, 2024
ce97f12
linux: use updated holy-build-box openssl3.2
YOU54F Jan 18, 2024
8316c6b
ci: add gh tasks
YOU54F Jan 18, 2024
a12bde1
linux: update openssl/extconf.rb for ruby 3.3 and below
YOU54F Feb 1, 2024
e99fa57
ci: ruby 3.3.0 in gh workflows
YOU54F Feb 1, 2024
b8229bc
ci: ruby 3.3.0 in gh workflows
YOU54F Feb 1, 2024
f426f02
ci: only ruby 3.3.0 in gh workflows
YOU54F Feb 1, 2024
864363e
ci: arm64 xcode version m1
YOU54F Feb 1, 2024
270ce07
chore: remove versions of ruby incompatible with openssl3
YOU54F Feb 2, 2024
737e11c
ci: macos use new runtime
YOU54F Feb 2, 2024
6889296
osx: link ncurses libs properly
YOU54F Feb 2, 2024
4aecd6c
linux/macos: enable mysql2
YOU54F Feb 2, 2024
0b3b8b9
osx: mysql2 connecter fix with SO link
YOU54F Feb 3, 2024
127d91b
win: dont skip 3.3.0 from cirrus
YOU54F Feb 3, 2024
da16d78
ci: github action wip / skip arm64 linux
YOU54F Feb 3, 2024
165d255
osx: download gmp from diff lcn as blocked from GHA
YOU54F Feb 3, 2024
99fadc4
ci: increase cirrus execution time for x86_64 task
YOU54F Feb 3, 2024
5e7006e
linux: x86_64 set /hbb_shlib/lib64 LDFLAGS
YOU54F Feb 3, 2024
ae3b272
osx: use prepacked runtime
YOU54F Feb 3, 2024
9a3046f
osx: prepacked runtime arch env var incorrect
YOU54F Feb 3, 2024
cdbf01f
osx: rmeove setup-xcode from arm64 gha
YOU54F Feb 3, 2024
5c55e0d
linux: missing / on pkg config path
YOU54F Feb 3, 2024
8276847
ci: arm64 gha support / cirrus download runtime paths
YOU54F Feb 3, 2024
3d4f9e3
ci: incorrect path in osx script
YOU54F Feb 3, 2024
cd3aa0d
ci: arm64 test path
YOU54F Feb 3, 2024
2050cd5
ci: osx dl runtime path fix
YOU54F Feb 3, 2024
787a29d
ci: osx dl runtime path fix
YOU54F Feb 3, 2024
d2c6f9e
feat: add support for openssl 1.1.1 builds to support ruby 3.0 and lower
YOU54F Feb 4, 2024
a9a7b59
osx(ci): upload gha osx runtime
YOU54F Feb 4, 2024
e4eab01
ci: use uploaded osx gha runtime to speed up runs
YOU54F Feb 4, 2024
0c52d00
ci: gh build ruby 3.1/3.2/3.3
YOU54F Feb 4, 2024
689b9f7
ci: gh build ruby windows all versions
YOU54F Feb 4, 2024
e73103f
macos: create osx openssl1.1.1 based runtime
YOU54F Feb 4, 2024
fa3d4e8
macos: create osx openssl1.1.1 based runtime
YOU54F Feb 4, 2024
6cefbe5
macos: use osx openssl1.1.1 pre baked runtime
YOU54F Feb 4, 2024
b011ec0
macos: use osx openssl1.1.1 pre baked runtime
YOU54F Feb 4, 2024
b55ce58
ci(matrix): test multiple ruby versions inc openssl 1.1.1
YOU54F Feb 5, 2024
90bfc7e
ci(matrix): test multiple ruby versions inc openssl 1.1.1
YOU54F Feb 5, 2024
dc4b36e
ci(matrix): remove all broken matrix versions
YOU54F Feb 5, 2024
642ce92
rel: 20240205 - Ruby 3.3.0 + OpenSSL 3 for Ruby 3.1.x +
YOU54F Feb 5, 2024
5024494
feat: create musl variants with alpine holy build box
YOU54F Feb 15, 2024
42955b6
update release date
YOU54F Feb 15, 2024
fea95e7
alpine: update libcheck for libc.musl-x86_64
YOU54F Feb 15, 2024
21ce1f7
ci:dont build image
YOU54F Feb 15, 2024
6361d9c
ci: update cirrus to build alpine
YOU54F Feb 15, 2024
5448298
ci(alpine): test alpine matrix on linux
YOU54F Feb 15, 2024
30774c2
Merge pull request #2 from YOU54F/alpine
YOU54F Feb 15, 2024
e301092
chore: rm .ruby-version and revert bundler to 2.5.3
YOU54F Feb 15, 2024
6c8c8d6
chore(deps): latest round of rubies due to cves
YOU54F Apr 27, 2024
1ac7438
!chore: drop ruby 3.0.x and lower, remove openssl 1.1
YOU54F Apr 27, 2024
ca25096
deps: add bigdecimal/psych/stringio
YOU54F Apr 27, 2024
b014cc2
osx: fixup build errors
YOU54F Apr 27, 2024
3e1ee24
chore(deps): ruby 3.3.2 / 3.1.6 / rubygems 3.5.11 / bundler 2.5.11
YOU54F Jun 10, 2024
0baf50a
chore(deps): ruby 3.3.3
YOU54F Jun 15, 2024
33d2d02
chore(ci): use setup-ruby@v1.180.0 for 3.3.3 on windows [skip ci]
YOU54F Jun 15, 2024
7ba1ee1
deps: ruby 3.3.4
YOU54F Jul 26, 2024
c50b455
!deps(gems): gem updates charlock_holmes/rexml
YOU54F Jul 26, 2024
feef682
chore(ci): update ruby setup actions for ruby 3.3.4
YOU54F Jul 26, 2024
bac13b3
chore(test): remove posix-spawn from test matrix
YOU54F Jul 26, 2024
8bbca13
macos: add xcode 15.4 sdk path
YOU54F Jul 26, 2024
a88bbbb
chore: update gems + ruby 3.3.5 / 3.2.5 + bundler 2.5.18
YOU54F Sep 4, 2024
9913c99
chore: drop windows to 3.3.4 / update rubygems version to 3.5.18
YOU54F Sep 4, 2024
455d61f
chore: remove platform specific ffi gems from lockfile
YOU54F Sep 4, 2024
d55239c
deps(win): bump to ruby 3.3.5
YOU54F Sep 5, 2024
48cfaf9
chore(deps): ruby 3.2.6 / 3.3.6
YOU54F Nov 22, 2024
5f8c6bc
chore(deps): updated gems
YOU54F Nov 22, 2024
679a701
chore: rel-20240904
YOU54F Nov 22, 2024
1324b5f
chore(osx): update codepaths for 15.4 & 16.0 xcode (gha / cirrus)
YOU54F Nov 22, 2024
9474201
chore(osx): build osx in gha on macos-13 as macos-12 will brownout
YOU54F Nov 22, 2024
9d4b7ed
chore(osx): downgrade x86_64 macos-13 xcode to 15.2
YOU54F Nov 22, 2024
8b83970
chore(osx): use xcode 16 for cirrus
YOU54F Nov 22, 2024
b2b213e
chore(deps): update gems
YOU54F Dec 28, 2024
7916b3e
chore(rel): update to 20241228
YOU54F Dec 28, 2024
fcc77cb
chore(ruby): add 3.4.1
YOU54F Dec 28, 2024
b4629f1
chore(ci): update to setup-ruby@v1.206.0
YOU54F Dec 28, 2024
89449ed
chore(osx): use xcode 16.1 for cirrus
YOU54F Dec 28, 2024
2a0fd4c
chore(deps): remove ffi platform specific gems from lockfile
YOU54F Dec 28, 2024
4a65898
chore(deps): all gems + latest rubies
YOU54F Jul 16, 2025
3b96983
ci: update to v4 action tags
YOU54F Jul 16, 2025
710a848
ci: update to latest setup-ruby
YOU54F Jul 16, 2025
42953bc
ci: update to latest setup-ruby
YOU54F Jul 16, 2025
629ce60
ci: downgrade to 3.4.4 as rubyinstaller2 doesnt have .5 yet
YOU54F Jul 16, 2025
1f07d81
chore(osx): update libxslt dl location
YOU54F Jul 16, 2025
321cb7e
chore(osx): use 15.2 xcode on gh
YOU54F Jul 16, 2025
cd2b564
chore(deps): pin psych to 5.2.0
YOU54F Jul 16, 2025
e40cd3e
chore(osx): dont strip dsym bundles on 3.4.x
YOU54F Jul 16, 2025
8cda30e
chore(osx): add xcode 16.4 for osx
YOU54F Jul 16, 2025
1ee560b
chore(win): set exe bit on gem executable
YOU54F Jul 16, 2025
b4162d0
chore(deps): 3.2.8 / 3.3.8 / 3.4.5
YOU54F Jul 18, 2025
70eb5db
chore(win): build 3.4.4-2
YOU54F Jul 18, 2025
eeae3af
chore(deps): add ruby 3.4.5 / 3.3.8 / 3.2.8
YOU54F Jul 25, 2025
d24baa0
chore(deps): update gemfile
YOU54F Jul 25, 2025
0f3dc1d
chore(ci): use setup-ruby main for latest rubies
YOU54F Jul 25, 2025
5e466f6
chore(deps): remove native ffi exts from shared gemfile
YOU54F Jul 25, 2025
3c2f991
chore(ci): use setup-ruby master for latest rubies
YOU54F Jul 25, 2025
9cd9c56
feat(win): arm64 support 3.4.x +
YOU54F Jul 25, 2025
76addb1
ci(packager-windows): build for arm64
YOU54F Jul 25, 2025
72f139a
ci(packager-windows): build for arm64 - fix cirrus script
YOU54F Jul 25, 2025
3afa1fe
ci(packager-windows): build for arm64 - fix cirrus script
YOU54F Jul 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
571 changes: 571 additions & 0 deletions .cirrus.yml

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions .github/workflows/alpine-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Alpine Musl - arm64 - build from dockerhub builder
# Broken on GitHub Actions with QEMU
on:
workflow_dispatch:
push:
branches: [ main, alpine ]
# pull_request:
# branches: [ main ]

env:
PKG_DATE: 20250625

jobs:
make-alpine-arm64:
strategy:
matrix:
os: [ubuntu-latest]
ruby-version: [3.2.9, 3.3.9, 3.4.5]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: "Set up Ruby"
uses: ruby/setup-ruby@master
with:
ruby-version: ${{ matrix.ruby-version }}
- name: package
run: |
docker run --privileged --rm tonistiigi/binfmt --install all
cd alpine
rake
ls
env:
ARCHITECTURES: "arm64"
RUBY_VERSIONS: ${{ matrix.ruby-version }}
- name: package gems
run: ./scripts/package-gems.sh
env:
PLATFORM: alpine
- name: 'Upload Artifact - linux arm64'
uses: actions/upload-artifact@v4
with:
name: traveling-ruby-${{ env.PKG_DATE }}-${{ matrix.ruby-version }}-linux-musl-arm64.tar.gz
path: alpine/traveling-ruby*.tar.gz
- name: test
run: |
cd alpine
rake test_docker
env:
ARCHITECTURES: "arm64"
RUBY_VERSIONS: ${{ matrix.ruby-version }}
49 changes: 49 additions & 0 deletions .github/workflows/alpine-x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Alpine Musl - x86_64 - build from dockerhub builder

on:
push:
branches: [ main, alpine ]
pull_request:
branches: [ main ]

env:
PKG_DATE: 20250625

jobs:
make-alpine-x86_64:
strategy:
matrix:
os: [ubuntu-latest]
ruby-version: [3.2.9, 3.3.9, 3.4.5]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: "Set up Ruby"
uses: ruby/setup-ruby@master
with:
ruby-version: ${{ matrix.ruby-version }}
- name: package
run: |
cd alpine
rake
ls
env:
ARCHITECTURES: "x86_64"
RUBY_VERSIONS: ${{ matrix.ruby-version }}
- name: package gems
run: ./scripts/package-gems.sh
env:
PLATFORM: alpine
- name: 'Upload Artifact - linux x86_64'
uses: actions/upload-artifact@v4
with:
name: traveling-ruby-${{ env.PKG_DATE }}-${{ matrix.ruby-version }}-linux-musl-x86_64.tar.gz
path: alpine/traveling-ruby*.tar.gz
- name: test
run: |
cd alpine
rake test_docker
env:
ARCHITECTURES: "x86_64"
RUBY_VERSIONS: ${{ matrix.ruby-version }}
93 changes: 93 additions & 0 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Test cli.sh

on:
# push:
workflow_dispatch:

jobs:
macos:
name: "${{matrix.ruby-version}} ${{ matrix.os }} ${{ matrix.shell }}"
timeout-minutes: 10
strategy:
matrix:
os: [macos-latest]
shell: [bash, sh]
ruby-version: [3.2.9,3.3.0]
fail-fast: false
defaults:
run:
shell: ${{ matrix.shell }}
runs-on: ${{ matrix.os }}

steps:
- name: remove system install ruby from macos
if: env.ACT != 'true'
run: |
ruby --version
which ruby
brew uninstall ruby@3.0
- uses: actions/checkout@v4
- run: ./cli.sh --ci -v ${{ matrix.ruby-version }}
name: install via cli.sh
- run: ruby --version
name: ruby --version via ${{ matrix.shell }}

linux:
name: "${{matrix.ruby-version}} ${{ matrix.os }} ${{ matrix.shell }}"
timeout-minutes: 10
strategy:
matrix:
os: [ubuntu-latest]
shell: [bash, sh]
ruby-version: [2.6.10,3.0.7,3.1.2,3.2.9,3.3.0]
fail-fast: false
defaults:
run:
shell: ${{ matrix.shell }}
runs-on: ${{ matrix.os }}

steps:
- name: remove system installed ruby & linuxbrew from Linux
if: env.ACT != 'true' && runner.os == 'Linux'
# default act image doesn't contain ruby or linuxbrew
run : |
ruby --version
sudo rm -rf /usr/bin/ruby
sudo apt-get --purge remove ruby-full
ruby --version || echo "ruby not found as expected"
/home/linuxbrew/.linuxbrew/bin/brew --version
sudo rm -rf /home/linuxbrew
- uses: actions/checkout@v4
- run: ./cli.sh --ci -v ${{ matrix.ruby-version }}
name: install via cli.sh
- run: ruby --version
name: ruby --version via ${{ matrix.shell }}
# - run: gem install pact_broker-client

# windows_local_install_script:
# name: "${{matrix.ruby-version}} Windows"
# runs-on: windows-latest
# strategy:
# matrix:
# shell: [cmd, powershell, pwsh, bash, sh]
# ruby-version: [2.6.10,3.0.7,3.1.2,3.2.9,3.3.0]
# fail-fast: false
# defaults:
# run:
# shell: ${{ matrix.shell }}
# steps:
# - uses: actions/checkout@v4
# - run: |
# "$HOME\.traveling-ruby\bin\" >> $env:GITHUB_PATH
# shell: powershell
# if: matrix.shell == 'powershell' || matrix.shell == 'pwsh' || matrix.shell == 'cmd'
# - run: ./cli.sh --ci -v ${{ matrix.ruby-version }}
# name: install via cli.sh
# shell: sh
# - run: ruby --version
# name: ruby --version via ${{ matrix.shell }}
# if: matrix.shell == 'bash' || matrix.shell == 'sh'
# - run: ruby --version
# name: ruby.exe --version via ${{ matrix.shell }}
# if: matrix.shell == 'powershell' || matrix.shell == 'pwsh' || matrix.shell == 'cmd'

64 changes: 64 additions & 0 deletions .github/workflows/osx-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: MacOS arm64

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
PKG_DATE: 20250625
PLATFORM: osx
ARCHITECTURES: arm64
DEVELOPER_DIR: /Applications/Xcode_16.2.0.app/Contents/Developer

jobs:
make-osx-arm64:
strategy:
matrix:
os: [macos-14]
# ruby-version: [3.0.7] # Pre 3.1.0 builds with openssl 1.1.1
ruby-version: [3.2.9, 3.3.9, 3.4.5]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: download osx arm64 runtime
run: ./scripts/download-osx-runtime.sh
env:
RUBY_VERSIONS: ${{ matrix.ruby-version }}
- name: build arm64
run: |
ls /Applications/Xcode*
cd osx
rake stash_conflicting_paths
rake --trace
rake unstash_conflicting_paths
ls
env:
RUBY_VERSIONS: ${{ matrix.ruby-version }}
# - name: package osx arm64 runtime
# run: ./scripts/package-osx-runtime.sh
# env:

# RUBY_VERSIONS: ${{ matrix.ruby-version }}
# - name: 'Upload Runtime - osx arm64'
# uses: actions/upload-artifact@v4
# with:
# name: osx-runtime-arm64-gha-openssl_1_1.tar.gz
# path: osx/osx-runtime-*.tar.gz
- name: package gems
run: ./scripts/package-gems.sh
env:
PLATFORM: osx
- name: 'Upload Artifact- osx arm64'
uses: actions/upload-artifact@v4
with:
name: traveling-ruby-${{ env.PKG_DATE }}-${{ matrix.ruby-version }}-osx-arm64.tar.gz
path: osx/traveling-ruby*.tar.gz
- name: test
run: |
cd osx
rake test
env:
RUBY_VERSIONS: ${{ matrix.ruby-version }}
61 changes: 61 additions & 0 deletions .github/workflows/osx-x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: MacOS x86_64

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
PKG_DATE: 20250625
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.2.9, 3.3.9, 3.4.5]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: download osx x86_64 runtime
run: ./scripts/download-osx-runtime.sh
env:
RUBY_VERSIONS: ${{ matrix.ruby-version }}
- name: build x86_64
run: |
ls /Applications/Xcode*
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@v4
# 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@v4
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 }}
Loading