From 16a1196b3400189be26fa34b1681a983be4348a4 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Wed, 8 Apr 2020 11:45:10 +0200 Subject: [PATCH] Added windows build. --- .github/workflows/main.yml | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6cbf077e1a..8504fad17a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -95,3 +95,42 @@ jobs: ./contrib/utilities/check_indentation.sh make -j 2 make -j 2 test #quicktests + + windows-serial: + # Serial build on Windows + name: Windows Serial + runs-on: [windows-latest] + + steps: + - uses: actions/checkout@v1 + - name: info + run: | + cmake --version + wmic logicaldisk get size, freespace, caption + - name: configure + shell: bash + run: | + mkdir build + mkdir c:/project + cd build + cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=c:/project .. + - name: archive logs + uses: actions/upload-artifact@v1 + with: + name: windows-serial-detailed.log + path: build/detailed.log + - name: build library + shell: bash + run: | + cmake --build build --target install -- -m + cd c:/project + 7z a dealii-windows.zip * + - name: test library + shell: bash + run: | + cmake --build build --target test -- -m + - name: archive library + uses: actions/upload-artifact@v1 + with: + name: dealii-windows.zip + path: c:/project/dealii-windows.zip -- 2.39.5