From: Luca Heltai Date: Wed, 8 Apr 2020 09:45:10 +0000 (+0200) Subject: Added windows build. X-Git-Tag: v9.2.0-rc1~256^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a1196b3400189be26fa34b1681a983be4348a4;p=dealii.git Added windows build. --- 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