summaryrefslogtreecommitdiff
path: root/portaudio/.github/workflows/c-cpp.yml
diff options
context:
space:
mode:
Diffstat (limited to 'portaudio/.github/workflows/c-cpp.yml')
-rw-r--r--portaudio/.github/workflows/c-cpp.yml54
1 files changed, 54 insertions, 0 deletions
diff --git a/portaudio/.github/workflows/c-cpp.yml b/portaudio/.github/workflows/c-cpp.yml
new file mode 100644
index 0000000..180b46b
--- /dev/null
+++ b/portaudio/.github/workflows/c-cpp.yml
@@ -0,0 +1,54 @@
+name: C/C++ CI
+
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: configure
+ run: ./configure
+ - name: make
+ run: make
+
+ build-cmake:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: cmake
+ run: cmake .
+ - name: make
+ run: make
+
+ build-cmake-msvc:
+
+ runs-on: windows-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: cmake
+ run: cmake .
+ - name: build
+ run: cmake --build .
+
+ build-cmake-mingw:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: apt
+ run: sudo apt-get install mingw-w64
+ - name: cmake
+ run: cmake -DCMAKE_TOOLCHAIN_FILE=i686-w64-mingw32.cmake .
+ - name: make
+ run: make