Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 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
fc16fd5
docs: update version and add support table
YOU54F Apr 5, 2023
ff9c059
feat: support linux aarch64 with ruby 3.1.2
YOU54F Apr 5, 2023
1a435c5
ci(new): add cirrus-ci config
YOU54F Apr 7, 2023
f8e55e4
ci(new): add github actions config
YOU54F Apr 7, 2023
fa5e159
ci(new): add circleci config
YOU54F Apr 7, 2023
30a4d14
chore: allow isolation of linux run with ARCHITECTURES
YOU54F Apr 7, 2023
03cfb19
chore(osx): add support for xcode 14.2 path
YOU54F Apr 7, 2023
831cb31
chore(deps): add 20230504 Gemfile
YOU54F Apr 7, 2023
3923396
chore: additional git ignores
YOU54F Apr 7, 2023
6358f28
chore(osx): install bundler directly
YOU54F Apr 7, 2023
bd85662
chore(ci): ci on pull req to main
YOU54F Apr 7, 2023
69a4a79
chore: remove .ruby-version
YOU54F Apr 7, 2023
78441b3
chore: rm lockfile
YOU54F Apr 7, 2023
04f8a91
feat: Ruby 3.2.2
YOU54F Apr 8, 2023
174669d
ci: add github actions
YOU54F Apr 10, 2023
2dc8cd9
ci: add cirrus-ci
YOU54F Apr 10, 2023
f21b172
chore: cleanup older gemfiles
YOU54F Apr 10, 2023
a5d92a7
ci: parameters in circle-ci build
YOU54F Apr 10, 2023
4bc6679
feat: windows x86/x86_64 builds
YOU54F Apr 10, 2023
1229046
fix: linux libyaml-devel libffi-devel
YOU54F Apr 10, 2023
49d01f8
ci: dont rm psych.so
YOU54F Apr 14, 2023
578f913
ci: add arch to linux build task
YOU54F Apr 14, 2023
4b3aba2
ci: add arch to linux build task
YOU54F Apr 14, 2023
dc30bf5
ci: libcheck libyaml
YOU54F Apr 15, 2023
628d1c5
ci: libcheck libyaml
YOU54F Apr 15, 2023
0f68fe5
chore: review feedback
YOU54F Apr 28, 2023
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
Prev Previous commit
Next Next commit
feat: support linux aarch64 with ruby 3.1.2
  • Loading branch information
YOU54F committed Apr 5, 2023
commit ff9c05951fccb8ee05efb92b6a6b69b9ea5133dd
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
/linux/runtime
/linux/output
/linux/traveling-ruby-gems*
/osx/runtime
/osx/output
/osx/work
/windows/cache
/windows/output
*.sublime-workspace
*.tar.gz
.DS_Store
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _Note:_ - This is a fork, which currently supports the following platforms and v
| OSX | 3.1.2 | x86_64 | βœ… |
| OSX | 3.1.2 | aarch64 (arm)| βœ… |
| Linux | 3.1.2 | x86_64 | βœ… |
| Linux | 3.1.2 | aarch64 (arm)| ❌ |
| Linux | 3.1.2 | aarch64 (arm)| βœ… |
| Windows| 3.1.2 | x86_64 | ❌ |
| Windows| 3.1.2 | aarch64 (arm)| ❌ |

Expand Down
4 changes: 2 additions & 2 deletions linux/Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
IMAGE_VERSION = "1.0"
VERSION = File.read("../VERSION.txt").strip
RUBY_VERSIONS = File.read("../RUBY_VERSIONS.txt").strip.split(/\s+/)
ARCHITECTURES = ["x86_64"]
ARCHITECTURES = ["x86_64",'arm64']
CONCURRENCY = `./internal/cpucount`.to_i + 1

task :default => :package
Expand Down Expand Up @@ -41,7 +41,7 @@ ARCHITECTURES.each do |arch|

desc "Build the #{arch} Docker image"
task "image:#{arch}" do
sh "docker build --pull" \
sh "docker build" \
" -t phusion/traveling-ruby-builder-#{arch}:#{IMAGE_VERSION}" \
" -f image/Dockerfile-#{arch} image"
end
Expand Down
3 changes: 3 additions & 0 deletions linux/image/Dockerfile-arm64
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM --platform=linux/arm64 phusion/holy-build-box:3.0
ADD . /tr_build
RUN env ARCHITECTURE=arm64 /tr_build/install.sh
2 changes: 1 addition & 1 deletion linux/image/Dockerfile-x86_64
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM phusion/holy-build-box-64:3.0
FROM --platform=linux/amd64 phusion/holy-build-box:3.0
ADD . /tr_build
RUN env ARCHITECTURE=x86_64 /tr_build/install.sh