Skip to content

Commit 186fc9d

Browse files
committed
Migrate CI to GitHub Actions
1 parent d5a575c commit 186fc9d

File tree

4 files changed

+41
-75
lines changed

4 files changed

+41
-75
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.github/workflows/main.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
strategy:
10+
matrix:
11+
os:
12+
- ubuntu-latest
13+
- windows-latest
14+
build_type:
15+
- Debug
16+
- Release
17+
fail-fast: false
18+
runs-on: ${{ matrix.os }}
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
with:
23+
persist-credentials: false
24+
submodules: recursive
25+
26+
- name: Install Qt
27+
uses: jurplel/install-qt-action@v3
28+
with:
29+
version: 5.15.*
30+
31+
- name: Build
32+
run: |
33+
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_INSTALL_PREFIX=install -DLIBBNDL_BUILD_UI=ON
34+
cmake --build build
35+
cmake --install build
36+
37+
- uses: actions/upload-artifact@v4
38+
with:
39+
name: libbndl-${{ matrix.build_type }}-${{ matrix.os }}
40+
path: path/to/artifact/world.txt

.travis.yml

-33
This file was deleted.

appveyor.yml

-42
This file was deleted.

0 commit comments

Comments
 (0)