Merge pull request #2955 from BBboy01/doc-zhCN #554
This file contains 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-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 |