From 5e83d621ccc514e01545abfae6fba4e3a8254328 Mon Sep 17 00:00:00 2001 From: Johan Mabille Date: Fri, 16 Sep 2022 10:13:27 +0200 Subject: [PATCH] Added Windows static build to the CI --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 -- 2.30.2