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@v2
- - 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
--- /dev/null
+name: github-windows
+
+on: [push, pull_request]
+
+jobs:
+ windows-serial:
+ # Serial build on Windows
+ name: Windows Serial
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [windows-2019, windows-2016]
+
+ steps:
+ - uses: actions/checkout@v2
+ - 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