From: Johan Mabille Date: Fri, 16 Sep 2022 08:13:27 +0000 (+0200) Subject: Added Windows static build to the CI X-Git-Tag: archive/raspbian/1.2.3+ds1-2+rpi1^2~8^2^2~2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5e83d621ccc514e01545abfae6fba4e3a8254328;p=zchunk.git Added Windows static build to the CI --- diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35667af..95d43e5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -80,6 +80,33 @@ jobs: cd builddir ninja test + windows-static: + runs-on: windows-latest + + name: Compile and run tests (windows-latest-static) + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-python@v1 + with: + python-version: '3.x' + + - name: Install meson and ninja + run: pip install meson ninja + + - name: Compile zchunk + shell: cmd /C CALL {0} + run: | + meson setup builddir --default-library=static + meson compile -C builddir + + - name: Run zchunk tests + shell: cmd /C CALL {0} + run: | + cd builddir + ninja test + + macos: runs-on: macos-latest