Skip to content

lua: edicts index starts from one, [1..num_edicts] #85

lua: edicts index starts from one, [1..num_edicts]

lua: edicts index starts from one, [1..num_edicts] #85

Workflow file for this run

name: CMake CI
on: [push, pull_request]
jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {
name: "Linux Clang",
os: ubuntu-22.04,
extra_options: "-DCMAKE_C_COMPILER=clang"
}
- {
name: "Linux GCC",
os: ubuntu-22.04
}
- {
name: "macOS",
os: macos-12
}
- {
name: "MSVC 32-bit",
os: windows-2022,
extra_options: "-A Win32"
}
- {
name: "MSVC 64-bit",
os: windows-2022,
extra_options: "-A x64"
}
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
shell: bash
run: |
if [[ "${{ runner.os }}" == 'Linux' ]]; then
sudo apt update && sudo apt install libflac-dev libmikmod-dev libmpg123-dev libopusfile-dev libsdl2-dev libvorbis-dev libxmp-dev
elif [[ "${{ runner.os }}" == 'macOS' ]]; then
brew install flac libmikmod libvorbis libxmp mpg123 opusfile sdl2
fi
- name: Configure
shell: bash
run: |
cmake -B build ${{ matrix.config.extra_options }} .
- name: Build
shell: bash
run: |
export MAKEFLAGS=--keep-going
cmake --build build --config Release --parallel 3
- name: List Build Directory
if: always()
shell: bash
run: |
git status
ls -lR build