Browse Source

CI: add linux i386, Darwin arm64 and Windows 386

Sébastien Marie 3 years ago
parent
commit
8c6f39a68d
1 changed files with 12 additions and 0 deletions
  1. 12 0
      .github/workflows/ci.yml

+ 12 - 0
.github/workflows/ci.yml

@@ -38,6 +38,9 @@ jobs:
           cd tests/vendor
           cd tests/vendor
           make
           make
         timeout-minutes: 10
         timeout-minutes: 10
+      - name: Odin check examples/all for Linux i386
+        run: ./odin check examples/all -vet -strict-style -target:linux_386
+        timeout-minutes: 10
       - name: Odin check examples/all for OpenBSD amd64
       - name: Odin check examples/all for OpenBSD amd64
         run: ./odin check examples/all -vet -strict-style -target:openbsd_amd64
         run: ./odin check examples/all -vet -strict-style -target:openbsd_amd64
         timeout-minutes: 10
         timeout-minutes: 10
@@ -81,6 +84,9 @@ jobs:
           cd tests/vendor
           cd tests/vendor
           make
           make
         timeout-minutes: 10
         timeout-minutes: 10
+      - name: Odin check examples/all for Darwin arm64
+        run: ./odin check examples/all -vet -strict-style -target:darwin_arm64
+        timeout-minutes: 10
   build_windows:
   build_windows:
     runs-on: windows-2019
     runs-on: windows-2019
     steps:
     steps:
@@ -141,3 +147,9 @@ jobs:
           cd tests\core\math\big
           cd tests\core\math\big
           call build.bat
           call build.bat
         timeout-minutes: 10
         timeout-minutes: 10
+      - name: Odin check examples/all for Windows 32bits
+        shell: cmd
+        run: |
+          call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
+          odin check examples/all -strict-style -target:windows_386
+        timeout-minutes: 10