Skip to content

Merge pull request #2994 from findstr/master #592

Merge pull request #2994 from findstr/master

Merge pull request #2994 from findstr/master #592

Workflow file for this run

name: test
on: [ push, pull_request ]
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- { os: ubuntu-20.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