Skip to content

Migrate CI to GitHub Actions #1

Migrate CI to GitHub Actions

Migrate CI to GitHub Actions #1

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
build_type:
- Debug
- Release
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
submodules: recursive
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 5.15.*
- name: Build
run: |
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=install -DLIBBNDL_BUILD_UI=ON
cmake --build build
cmake --install build
- uses: actions/upload-artifact@v4
with:
name: libbndl-${{ matrix.build_type }}-${{ matrix.os }}
path: path/to/artifact/world.txt