Skip to content

Add infc_castle_arena_dupafire #307

Add infc_castle_arena_dupafire

Add infc_castle_arena_dupafire #307

name: Build with scripts
on:
push:
paths-ignore:
- "data/maps/**"
jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
tests: [true]
config:
- {
name: "Ubuntu 22.04 GCC",
os: ubuntu-22.04,
cc: "gcc", cxx: "g++"
}
steps:
- uses: actions/checkout@v4
with:
path: "scripts"
repository: "infclass/infclass-scripts"
- uses: actions/checkout@v4
with:
path: "scripts/ci/sources"
- name: Prepare Linux
if: contains(matrix.config.os, 'ubuntu')
run: |
sudo apt-get update -y
- name: Install the dependencies
run: ./scripts/scripts/prepare-system.sh
- name: Add lua
if: contains(matrix.config.os, 'ubuntu')
run: |
sudo apt-get install libluajit-5.1-dev -y
- name: Add the CI build configuration
run: |
cp scripts/ci/sources/.github/workflows/ci.conf scripts/conf
- name: Build the server
run: ./scripts/scripts/build.sh ci
- name: Test
if: matrix.tests
working-directory: ${{github.workspace}}/scripts/ci/install
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C Release --output-on-failure