limit 100 items for performance reason #740
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 | |
| on: [ push, pull_request ] | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { os: ubuntu-22.04, target: linux, platform: linux-x64 } | |
| - { os: macos-14, target: darwin, platform: darwin-arm64 } | |
| - { os: windows-latest, target: windows, platform: win32-x64 } | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Build for Windows | |
| if: ${{ matrix.target == 'windows' }} | |
| run: .\make.bat | |
| - name: Build for Linux | |
| if: ${{ matrix.target == 'linux' }} | |
| run: | | |
| sudo apt update | |
| sudo apt install ninja-build | |
| ./make.sh | |
| - name: Build for macOS | |
| if: ${{ matrix.target == 'darwin' }} | |
| run: | | |
| brew install ninja | |
| ./make.sh |