Refix macOS CI script #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: test macos | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| tags-ignore: | |
| - '*' | |
| pull_request: | |
| jobs: | |
| raku: | |
| strategy: | |
| matrix: | |
| os: | |
| - macOS-latest | |
| raku-version: | |
| - 'latest' | |
| - '2024.05' | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: Raku/setup-raku@v1 | |
| with: | |
| raku-version: ${{ matrix.raku-version }} | |
| - name: macOS specific setup | |
| if: contains(matrix.os, 'macOS') | |
| run: | | |
| brew update | |
| brew install harfbuzz | |
| brew install fribidi | |
| brew install freetype | |
| brew reinstall freetype | |
| brew reinstall fontconfig | |
| brew install cairo | |
| - name: Install Raku Dependencies | |
| run: | | |
| zef install --/test App::Prove6 | |
| zef install MacOS::NativeLib | |
| raku -e'use MacOS::NativeLib qw<cairo>' | |
| zef --deps-only install . | |
| - name: Run Tests | |
| run: | | |
| prove6 -I. t | |
| zef install . |