Skip to content

Commit

Permalink
Migrate CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Mar 24, 2024
1 parent d5a575c commit a669f99
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 75 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
44 changes: 44 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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
shell: bash
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
export CMAKE_GENERATOR=Ninja
fi
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: install/*
33 changes: 0 additions & 33 deletions .travis.yml

This file was deleted.

42 changes: 0 additions & 42 deletions appveyor.yml

This file was deleted.

0 comments on commit a669f99

Please sign in to comment.