-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Alpine Linux as supported platform #19
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add Alpine Linux to CI?
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 2bef357..711740e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -10,6 +10,7 @@ jobs:
matrix:
distribution:
- almalinux-9
+ - alpine-linux
- alt-linux
- amazon-linux-2
- amazon-linux-2023
@@ -0,0 +1,41 @@ | |||
# Copyright (C) 2017-2023 Ruby-GNOME Project Team |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Copyright (C) 2017-2023 Ruby-GNOME Project Team | |
# Copyright (C) 2023 Ruby-GNOME Project Team |
@@ -46,6 +46,7 @@ def detect | |||
|
|||
require_relative "platform/debian" | |||
require_relative "platform/ubuntu" | |||
require_relative "platform/alpine-linux" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These require_relative
s are for Debian based distributions.
Could you put this after platform/suse
?
diff --git a/lib/native-package-installer/platform.rb b/lib/native-package-installer/platform.rb
index 8476fbd..528c785 100644
--- a/lib/native-package-installer/platform.rb
+++ b/lib/native-package-installer/platform.rb
@@ -57,6 +57,8 @@ require_relative "platform/amazon-linux-2023"
require_relative "platform/suse"
+require_relative "platform/alpine-linux"
+
# Windows
require_relative "platform/msys2"
d4f1025
to
451266b
Compare
Thanks! |
This PR will add Alpine Linux as supported platform.