Skip to content

Commit 2482bc9

Browse files
committed
Update CI configuration
1 parent ed6d398 commit 2482bc9

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,30 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
gr: [ 'system' ]
14-
os: [ 'ubuntu' ]
15-
ruby: [ '2.7', '3.0', '3.1' ]
13+
gr: ["system"]
14+
os: ["ubuntu"]
15+
ruby: ["3.2", "3.3", "3.4"]
16+
ubuntu_version: ["24.04"]
1617
runs-on: ${{ matrix.os }}-latest
1718
steps:
1819
- uses: actions/checkout@v4
1920
- name: Set up Ruby
2021
uses: ruby/setup-ruby@v1
2122
with:
2223
ruby-version: ${{ matrix.ruby }}
24+
bundler-cache: true
2325
- name: Setup OBS binary (ubuntu)
2426
if: ${{ matrix.gr == 'system' && matrix.os == 'ubuntu' }}
2527
run: |
26-
echo 'deb http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_20.04/ /' |
28+
echo 'deb http://download.opensuse.org/repositories/science:/gr-framework/xUbuntu_${{ matrix.ubuntu_version }}/ /' |
2729
sudo tee /etc/apt/sources.list.d/science:gr-framework.list
28-
curl -fsSL https://download.opensuse.org/repositories/science:gr-framework/xUbuntu_20.04/Release.key |
30+
curl -fsSL https://download.opensuse.org/repositories/science:gr-framework/xUbuntu_${{ matrix.ubuntu_version }}/Release.key |
2931
gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/science_gr-framework.gpg > /dev/null
3032
sudo apt update -yq && sudo apt upgrade -yq
3133
sudo apt-get install -y gr
32-
- name: Install gems
33-
run: |
34-
gem install bundler
35-
bundle install --jobs 4 --retry 3
3634
- name: Test
3735
env:
3836
QT_QPA_PLATFORM: offscreen
39-
GRDIR: /usr/gr
37+
LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu
38+
PKG_CONFIG_PATH: /usr/gr/lib/pkgconfig/
4039
run: bundle exec rake test

0 commit comments

Comments
 (0)