]> git.puffer.fish Git - matthieu/nova.git/commitdiff
new ci for mac and windows
authorMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>
Sat, 7 Aug 2021 08:05:47 +0000 (12:05 +0400)
committerMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>
Sat, 7 Aug 2021 08:05:47 +0000 (12:05 +0400)
.github/workflows/bazel-build.yml

index 9d5e3849e908e641cbb7ce477e068264545b0695..044664d0ef30337359c059316fdc2d6855db2eda 100644 (file)
@@ -12,13 +12,16 @@ on:
 \r
   # Allows you to run this workflow manually from the Actions tab\r
   workflow_dispatch:\r
-\r
 # A workflow run is made up of one or more jobs that can run sequentially or in parallel\r
 jobs:\r
   # This workflow contains a single job called "build"\r
   build:\r
+    strategy:\r
+      fail-fast: false\r
+      matrix:\r
+        os: [ubuntu-latest, macos-latest, windows-latest]\r
     # The type of runner that the job will run on\r
-    runs-on: ubuntu-latest\r
+    runs-on: ${{ matrix.os }}\r
     # Steps represent a sequence of tasks that will be executed as part of the job\r
     steps:\r
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it\r
@@ -40,6 +43,7 @@ jobs:
           key: bazel\r
       # Runs a set of commands using the runners shell\r
       - name: Execute build script\r
+        shell: bash\r
         run: |\r
            sudo apt-get install build-essential -y\r
            bazel build //:package\r