Skip to content

Fix for Linux.

Fix for Linux. #46

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ master ]
tags-ignore:
- 'v*' # Don't run if tagged as v*.
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: mkdir
run: mkdir ci_windows
- name: build
run: |
cmake ../src
cmake --build . --config Release
working-directory: ./ci_windows
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: mkdir
run: mkdir ci_ubuntu
- name: install-OpenGL
run: |
sudo apt-get update
sudo apt-get install libglu1-mesa-dev mesa-common-dev
- name: install-ALSA
run: sudo apt-get install libasound2 libasound2-dev
- name: cmake
run: cmake ../src -DCMAKE_BUILD_TYPE=Release
working-directory: ./ci_ubuntu
- name: build
run: cmake --build . --config Release
working-directory: ./ci_ubuntu
build-macos:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- name: mkdir
run: mkdir ci_macos
- name: cmake
run: cmake ../src -DCMAKE_BUILD_TYPE=Release
working-directory: ./ci_macos
- name: build
run: cmake --build .
working-directory: ./ci_macos