Fix macro for __builtin_source_location #15
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 Linux | |
on: [push] | |
jobs: | |
cpp-build: | |
name: Build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-24.04 ] | |
config: [ debug, release ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Configure Ubuntu Libraries | |
run: sudo apt-get install -y libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev mesa-common-dev | |
- name: Install Clang 19 | |
uses: egor-tensin/setup-clang@v1 | |
with: | |
version: 19 | |
platform: x64 | |
- name: Install Premake | |
uses: Jarod42/install-premake5@v4 | |
with: | |
ref: master | |
- name: Generate Project Files | |
run: premake5 gmake | |
- name: Fetch Dependencies | |
run: premake5 fetch | |
- name: Build | |
run: make config=${{ matrix.config }}_x64 -j$(nproc) |