File tree Expand file tree Collapse file tree 1 file changed +35
-16
lines changed
Expand file tree Collapse file tree 1 file changed +35
-16
lines changed Original file line number Diff line number Diff line change 2727 uses : ruby/setup-ruby@v1
2828 with :
2929 ruby-version : ${{ matrix.ruby }}
30- - name : Build and test with Rake
30+ - name : Build and test
3131 run : bash rumale-test.sh
3232
3333 build-win :
5151 run : |
5252 $value = ruby -e 'puts RUBY_VERSION'
5353 echo "RUBY_VER=$value" >> $env:GITHUB_ENV
54- - name : Build and test with Rake
54+ - name : Build and test
5555 run : |
5656 bundle config set --global build.numo-linalg-alt "--with-opt-lib=C:\hostedtoolcache\windows\Ruby\${{ env.RUBY_VER }}\x64\msys64\ucrt64\lib --with-opt-include=C:\hostedtoolcache\windows\Ruby\${{ env.RUBY_VER }}\x64\msys64\ucrt64\include\openblas"
5757 bash rumale-test.sh
@@ -60,17 +60,36 @@ jobs:
6060 runs-on : macos-latest
6161 name : Ruby 3.4 (macOS)
6262 steps :
63- - uses : actions/checkout@v6
64- - name : Install OpenBLAS
65- run : |
66- brew update
67- brew install openblas
68- brew info openblas
69- - name : Set up Ruby
70- uses : ruby/setup-ruby@v1
71- with :
72- ruby-version : 3.4
73- - name : Build and test with Rake
74- run : |
75- bundle config --global build.numo-linalg-alt "--with-opt-dir=/opt/homebrew/opt/openblas"
76- bash rumale-test.sh
63+ - uses : actions/checkout@v6
64+ - name : Install OpenBLAS
65+ run : |
66+ brew update
67+ brew install openblas
68+ brew info openblas
69+ - name : Set up Ruby
70+ uses : ruby/setup-ruby@v1
71+ with :
72+ ruby-version : 3.4
73+ - name : Build and test
74+ run : |
75+ bundle config --global build.numo-linalg-alt "--with-opt-dir=/opt/homebrew/opt/openblas"
76+ bash rumale-test.sh
77+
78+ build-rhel :
79+ runs-on : ubuntu-latest
80+ name : Ruby 3.3 (Rocky)
81+ container : rockylinux/rockylinux:9
82+ steps :
83+ - uses : actions/checkout@v6
84+ - name : Set up Ruby
85+ run : |
86+ dnf update -y
87+ dnf install -y dnf-plugins-core
88+ dnf config-manager --set-enabled crb
89+ dnf module -y enable ruby:3.3
90+ dnf install -y gcc make git libyaml-devel ruby-devel ruby openblas-devel
91+ bundle config silence_root_warning true
92+ - name : Build and test
93+ run : |
94+ bundle config --global build.numo-linalg-alt "--with-opt-include=/usr/include/openblas"
95+ bash rumale-test.sh
You can’t perform that action at this time.
0 commit comments