Update scenes to use Ubuntu-Regular font #32
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-ubuntu-gcc | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# platform tasks | |
jobs: | |
UbuntuGCC: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
architecture: [x64] #architecture: [x86, x64] | |
build-platform: [x64] #build-platform: [x86, x64] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Installing Latest gcc & g++ Compiler | |
run: | | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
sudo apt update | |
sudo apt install gcc-12 g++-12 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 | |
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100 | |
- name: Installing necessary system libraries | |
run: sudo apt install cmake ninja-build libgl1-mesa-dev libxi-dev libx11-dev xorg-dev libwayland-dev libxkbcommon-dev libxcursor-dev libxrandr-dev libxcomposite-dev libxinerama-dev libtbb-dev | |
- name: Generating Ninja build files | |
run: mkdir build && cd build && cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ | |
- name: Building Enigma | |
run: cd build && ninja -j$(nproc) | |
- name: Installing Enigma | |
run: cd build && ninja install | |
- name: Running Enigma | |
run: ./build/Enigma --version |