update #349
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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-linux: | |
name: build-linux | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get latest CMake and ninja | |
uses: lukka/get-cmake@latest | |
- name: Run CMake | |
run: cmake -B build | |
- name: Build | |
run: cmake --build build --config Release -j 8 | |
build-macosx: | |
name: build-macosx | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get latest CMake and ninja | |
uses: lukka/get-cmake@latest | |
- name: Run CMake | |
run: cmake -B build | |
- name: Build | |
run: cmake --build build --config Release -j 8 | |
build-windows: | |
name: build-windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run CMake | |
run: cmake -B build | |
- name: Build | |
run: cmake --build build --config Release | |