Update cmake-multi-platform.yml #2
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up CMake | |
uses: actions/setup-cmake@v3 | |
- name: Install dependencies on Linux | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt-get install libasound2-dev libfreetype6-dev libasound2-dev libfreetype6-dev libgl1-mesa-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev build-essential xorg-dev libgtk-3-dev libcurl4-openssl-dev libssl-dev libwebkit2gtk-4.0-dev | |
- name: Configure CMake | |
run: cmake ./ | |
- name: Build | |
run: make -j 8 |