Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Automatically sets up your devbox environment whenever you cd into this
# directory via our direnv integration:
eval "$(devbox generate direnv --print-envrc)"
# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
# for more details

# ensure pkgconfig path is exported
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH_FOR_TARGET
19 changes: 2 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,8 @@ jobs:
fail-fast: false
matrix:
# Due to https://github.com/actions/runner/issues/849, we should quote versions
ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', 'truffleruby-head']
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't care about these ruby / rails version for our purposes, remove to save build time and resources.

rails: ['4.1', '4.2', '5.0', '5.1', '5.2', '6.0', '6.1', '7.0']
exclude:
- { ruby: '2.3', rails: '7.0' }
- { ruby: '2.4', rails: '7.0' }
- { ruby: '2.5', rails: '7.0' }
- { ruby: '2.6', rails: '7.0' }
- { ruby: '2.3', rails: '6.0' }
- { ruby: '2.3', rails: '6.1' }
- { ruby: '2.4', rails: '6.0' }
- { ruby: '2.4', rails: '6.1' }
- { ruby: '2.7', rails: '4.1' }
- { ruby: '2.7', rails: '4.2' }
- { ruby: '3.0', rails: '4.1' }
- { ruby: '3.0', rails: '4.2' }
- { ruby: 'truffleruby-head', rails: '4.1' }
- { ruby: 'truffleruby-head', rails: '4.2' }
ruby: ['3.2']
rails: ['7.0', '7.1', '7.2','8.0']

name: Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }}
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
Expand Down
15 changes: 15 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,18 @@ appraise "rails-7.0" do
gem 'railties', '~> 7.0'
gem 'activesupport', '~> 7.0'
end

appraise "rails-7.1" do
gem 'railties', '~> 7.1'
gem 'activesupport', '~> 7.1'
end

appraise "rails-7.2" do
gem 'railties', '~> 7.2'
gem 'activesupport', '~> 7.2'
end

appraise "rails-8.0" do
gem 'railties', '~> 8.0'
gem 'activesupport', '~> 8.0'
end
Comment on lines +41 to +54
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this used for this gem?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I hadn't seen this before but it's actually pretty cool.

27 changes: 27 additions & 0 deletions devbox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.2/.schema/devbox.schema.json",
"packages": {
"gnumake" : "latest",
"pkg-config" : "latest",
"ruby" : "3.2.2",
"libyaml": {
"version" : "latest",
"outputs" : ["out", "dev"]
},
"libsodium": {
"version" : "latest",
"outputs" : ["out", "dev"]
},
"libffi": {
"version" : "latest",
"outputs" : ["out", "dev"]
}
},
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
}
}
}
Loading