Skip to content
Draft
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
43 changes: 43 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,46 @@ jobs:
- name: Test
run: |
bundle exec rake

windows-msys2:
name: Windows ${{ matrix.msystem }}
runs-on: ${{ matrix.runner }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
- msystem: CLANG64
package-prefix: mingw-w64-clang-x86_64
runner: windows-latest
- msystem: CLANGARM64
package-prefix: mingw-w64-clang-aarch64
runner: windows-11-arm
- msystem: MINGW32
package-prefix: mingw-w64-i686
runner: windows-latest
- msystem: MINGW64
package-prefix: mingw-w64-x86_64
runner: windows-latest
- msystem: UCRT64
package-prefix: mingw-w64-ucrt-x86_64
runner: windows-latest
steps:
- uses: actions/checkout@v6
- uses: msys2/setup-msys2@v2
with:
msystem: ${{ matrix.msystem }}
update: true
install: >-
base-devel
${{ matrix.package-prefix }}-cairo
${{ matrix.package-prefix }}-ruby
${{ matrix.package-prefix }}-toolchain
- name: Install dependencies
shell: msys2 {0}
run: |
bundle install
- name: Test
shell: msys2 {0}
run: |
bundle exec rake
2 changes: 2 additions & 0 deletions pkg-config.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ Gem::Specification.new do |spec|
spec.files += Dir.glob("lib/**/*.rb")
spec.test_files = Dir.glob("test/**/*.rb")

spec.requirements << "system: pkgconf: msys2: pkgconf"

spec.metadata["msys2_mingw_dependencies"] = "pkgconf"
end
Loading