summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-11-09 01:13:06 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-11-09 01:13:06 -0500
commitb5b5c40ecdd60908bb470a98675c0ffbf546ce4a (patch)
tree47430cc2521b03740476ec459f4536621a3024f2 /.github
parentd84fe2b800b4c114d797705a9557d114547a28ac (diff)
downloadabaddon-portaudio-b5b5c40ecdd60908bb470a98675c0ffbf546ce4a.tar.gz
abaddon-portaudio-b5b5c40ecdd60908bb470a98675c0ffbf546ce4a.zip
first try at actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7db575b..d206213 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,7 +2,53 @@ name: Abaddon CI
on: [push, pull_request]
+
jobs:
+ msys2:
+ name: msys2-mingw64
+ runs-on: windows-latest
+ strategy:
+ matrix:
+ buildtype: [Debug, RelWithDebInfo, MinSizeRel]
+ defaults:
+ run:
+ shell: msys2 {0}
+ steps:
+ - uses: actions/checkout@v1
+ with:
+ submodules: true
+
+ - name: Fetch CMake
+ uses: lukka/get-cmake@v3.21.2
+
+ - name: Setup MSYS2
+ with:
+ msystem: mingw64
+ update: true
+ install: >-
+ git
+ make
+ mingw-w64-x86_64-toolchain
+ mingw-w64-x86_64-cmake
+ mingw-w64-x86_64-ninja
+ mingw-w64-x86_64-sqlite3
+ mingw-w64-x86_64-nlohmann-json
+ mingw-w64-x86_64-curl
+ mingw-w64-x86_64-zlib
+ mingw-w64-x86_64-gtkmm3
+
+ - name: Build
+ uses: lukka/run-cmake@v3
+ with:
+ buildDirectory: ${{ runner.workspace }}/build
+ cmakeBuildType: ${{ matrix.buildtype }}
+
+ - name: Upload build
+ uses: actions/upload-artifact@v2
+ with:
+ name: build-windows-msys2-${{ matrix.buildtype }}
+ path: ${{ runner.workspace }}/build
+
windows:
name: windows-${{ matrix.buildtype }}
runs-on: windows-latest