Update Profiler.h #339
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: Main Build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Checkout submodules | |
uses: snickerbockers/submodules-init@v4 | |
- name: Dependencies | |
run: | | |
vcpkg update | |
vcpkg install openssl freetype --triplet x64-windows | |
- name: configure twice | |
run: | | |
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=C://vcpkg/scripts/buildsystems/vcpkg.cmake . | |
cmake -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_TOOLCHAIN_FILE=C://vcpkg/scripts/buildsystems/vcpkg.cmake . | |
- name: make | |
run: cmake --build . -- /p:CL_MPcount=2 | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install libx11-dev xorg-dev libgl1-mesa-dev libdw-dev | |
- uses: actions/checkout@v2 | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: configure twice | |
run: | | |
sudo cmake . -DCMAKE_CXX_COMPILER=g++-9 -DCMAKE_C_COMPILER=gcc-9 | |
sudo cmake . -DCMAKE_CXX_COMPILER=g++-9 -DCMAKE_C_COMPILER=gcc-9 | |
- name: make | |
run: sudo cmake --build . -- -j 2 | |