diff options
author | sanine <sanine.not@pm.me> | 2022-08-25 14:54:53 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-25 14:54:53 -0500 |
commit | 37c97e345d12f95dde44e1d1a4c2f2aadd4615bc (patch) | |
tree | e1bb25bc855883062bdd7847ff2c04290f71c840 /portaudio/.github/workflows/c-cpp.yml | |
parent | 5634c7b04da619669f2f29f6798c03982be05180 (diff) |
add initial structure
Diffstat (limited to 'portaudio/.github/workflows/c-cpp.yml')
-rw-r--r-- | portaudio/.github/workflows/c-cpp.yml | 54 |
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 |