]> source.dussan.org Git - gitblit.git/commitdiff
Build on matrix of latest Ubunutu and latest Windows.
authorFlorian Zschocke <florian.zschocke@devolo.de>
Sun, 5 Jan 2020 21:03:34 +0000 (22:03 +0100)
committerFlorian Zschocke <florian.zschocke@devolo.de>
Sun, 5 Jan 2020 21:03:34 +0000 (22:03 +0100)
Currently that is Ubuntu 18.04 and Windows Server 2019.
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/virtual-environments-for-github-hosted-runners

.github/workflows/ci-build.yml

index 93bd863ad11cf0dae786d05d544400898bab2431..c54987013b74a8e55902a0a4591e8c24eb0bc5ec 100644 (file)
@@ -5,9 +5,10 @@ on: push
 jobs:
   build:
     name: Build and test
-    runs-on: ubuntu-latest
+    runs-on: ${{ matrix.os }}
     strategy:
       matrix:
+        os: [ubuntu-latest, windows-latest]
         java-version: [8, 11]
     
     steps: