fnet.c

Simple C networking library
git clone git://git.finwo.net/lib/fnet.c
Log | Files | Refs | README

commit 2b584a14d2bcb70c68c1e6975360dc5e2e380574
parent fb2ae86b902cac33d7ceafb7e787c467e553f326
Author: Yersa Nordman <yersa@finwo.nl>
Date:   Sun, 22 Oct 2023 20:17:03 +0200

Added windows build in ci

Diffstat:
M.github/workflows/build.yml | 75+++++++++++++++++++++++++++++++++------------------------------------------
1 file changed, 33 insertions(+), 42 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml @@ -8,48 +8,39 @@ on: jobs: - # build-windows: - # name: Build - # runs-on: ${{ matrix.os }} - # strategy: - # matrix: - # include: - # - os: windows-latest - # cc: clang - # steps: - # - uses: actions/checkout@v3 - - # - name: Install dependencies (windows) - # run: | - # mkdir external - # mkdir external\\tools - # mkdir external\\libs - # curl -sSLo "external\\tools\\nuget.exe" https://dist.nuget.org/win-x86-commandline/latest/nuget.exe - # external\\tools\\nuget install Microsoft.Web.Webview2 -Verbosity quiet -Version "1.0.1150.38" -OutputDirectory "external\\libs" || exit /b 1 - - # - shell: bash - # run: | - # echo "/c/msys64/mingw64/bin" >> $GITHUB_PATH - - # - uses: finwo/dep@main - # name: Install dep - - # - name: Install dependencies - # run: dep install - # shell: bash - - # - name: Build - # run: make CC=${{ matrix.cc }} CPP=${{ matrix.cpp }} BIN=${{ matrix.bin }} - # shell: bash - - # - name: Upload binaries to release - # uses: svenstaro/upload-release-action@v2 - # with: - # repo_token: ${{ secrets.GITHUB_TOKEN }} - # file: ${{ matrix.bin }} - # file_glob: true - # overwrite: true - # tag: ${{ github.ref }} + build-windows: + name: Build + runs-on: ${{ matrix.os }} + strategy: + matrix: + include: + - os: windows-latest + cc: clang + steps: + - uses: actions/checkout@v3 + + # - name: Install dependencies (windows) + # run: | + # mkdir external + # mkdir external\\tools + # mkdir external\\libs + # curl -sSLo "external\\tools\\nuget.exe" https://dist.nuget.org/win-x86-commandline/latest/nuget.exe + # external\\tools\\nuget install Microsoft.Web.Webview2 -Verbosity quiet -Version "1.0.1150.38" -OutputDirectory "external\\libs" || exit /b 1 + + - shell: bash + run: | + echo "/c/msys64/mingw64/bin" >> $GITHUB_PATH + + - uses: finwo/dep@main + name: Install dep + + - name: Install dependencies + run: dep install + shell: bash + + - name: Build + run: make CC=${{ matrix.cc }} + shell: bash build-linux: name: Build