diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake-linux.yml similarity index 98% rename from .github/workflows/cmake.yml rename to .github/workflows/cmake-linux.yml index edebff41..c6a9b649 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake-linux.yml @@ -1,4 +1,4 @@ -name: Build FreeDV +name: Build FreeDV (Linux) on: push: diff --git a/.github/workflows/cmake-windows.yml b/.github/workflows/cmake-windows.yml new file mode 100644 index 00000000..30ceb24a --- /dev/null +++ b/.github/workflows/cmake-windows.yml @@ -0,0 +1,26 @@ +name: Build FreeDV (Windows) + +on: + push: + branches-ignore: + - 'dr-render-manual' + +env: + # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) + BUILD_TYPE: Debug + +jobs: + build: + # The CMake configure and build commands are platform agnostic and should work equally + # well on Windows or Mac. You can convert this to a matrix build if you need + # cross-platform coverage. + # See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Build freedv-gui + shell: bash + working-directory: ${{github.workspace}}/docker + run: ./freedv_build_windows.sh --branch ${{github.ref}} 64