Added documentation,fixed typos,polished GUI,removed old animation su… #16
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: CMake Build Matrix | |
on: | |
push: | |
branches: | |
- '**' | |
jobs: | |
build: | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
defaults: | |
run: | |
shell: ${{ matrix.config.shell }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { | |
name: "Windows", | |
os: windows-latest, | |
shell: "msys2 {0}", | |
artifact: "Release-Windows" | |
} | |
- { | |
name: "Ubuntu", | |
os: ubuntu-latest, | |
shell: "sh", | |
artifact: "Release-Linux", | |
} | |
steps: | |
- name: Setup Windows dependencies | |
if: startsWith(matrix.config.os, 'Windows') | |
uses: msys2/setup-msys2@v2 | |
with: | |
install: >- | |
git | |
mingw-w64-x86_64-cmake | |
mingw-w64-x86_64-ninja | |
mingw-w64-x86_64-gcc | |
mingw-w64-x86_64-mesa | |
- name: Setup Ubuntu dependencies | |
if: startsWith(matrix.config.name, 'Ubuntu') | |
run: | | |
sudo apt-get update | |
sudo apt install libegl1-mesa-dev libglu1-mesa-dev libasound2-dev libpulse-dev ninja-build cmake build-essential -y | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Configure | |
run: | | |
mkdir Build | |
cmake \ | |
-B Build \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DENABLE_PVS_STUDIO_ANALYZER=OFF \ | |
-G Ninja \ | |
- name: Build | |
run: cmake --build Build --parallel | |
- name: Upload artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ matrix.config.artifact }} | |
path: Build/bin/ |