]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Added CI configurations for MSVC ARM and ARM64.
authorNathan Moinvaziri <nathan@nathanm.com>
Thu, 30 Apr 2020 01:02:55 +0000 (18:02 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 24 Jun 2020 09:42:44 +0000 (11:42 +0200)
.github/workflows/cmake.yml
.github/workflows/nmake.yml

index eab98d84e1f70b062535830cbdc5535d3a2cd1fe..5963e58488154201e2425ab3e5f050de6876d3f1 100644 (file)
@@ -44,6 +44,8 @@ jobs:
           Ubuntu Clang MSAN,
           Windows MSVC Win32,
           Windows MSVC Win64,
+          Windows MSVC ARM No Test,
+          Windows MSVC ARM64 No Test,
           Windows GCC,
           Windows GCC Compat,
           Windows GCC Compat No Opt,
@@ -302,6 +304,16 @@ jobs:
             compiler: cl
             cmake-args: -A x64
 
+          - name: Windows MSVC ARM No Test
+            os: windows-latest
+            compiler: cl
+            cmake-args: -A ARM
+
+          - name: Windows MSVC ARM64 No Test
+            os: windows-latest
+            compiler: cl
+            cmake-args: -A ARM64
+
           - name: Windows GCC
             os: windows-latest
             compiler: gcc
@@ -396,6 +408,8 @@ jobs:
         cmake --build . --config ${{ matrix.build-config || 'Release' }}
 
     - name: Run test cases
+      # Don't run tests on Windows ARM
+      if: runner.os != 'Windows' || contains(matrix.name, 'ARM') == false
       run: |
         cd ${{ matrix.build-dir || '.' }}
         ctest -C Release --output-on-failure --max-width 120
index 48d00c2d660b2676f9a2923b0993caf9b4318576..ecf0eb1873249c910ea7ba1f5912a6a5e3869281 100644 (file)
@@ -9,7 +9,9 @@ jobs:
       matrix:
         name: [
           Windows NMake x86,
-          Windows NMake x64
+          Windows NMake x64,
+          Windows NMake ARM No Test,
+          Windows NMake ARM64 No Test
         ]
         include:
           - name: Windows NMake x86
@@ -22,6 +24,16 @@ jobs:
             makefile: win32/Makefile.msc
             vc-vars: x86_amd64
 
+          - name: Windows NMake ARM No Test
+            os: windows-latest
+            makefile: win32/Makefile.arm
+            vc-vars: x86_arm
+
+          - name: Windows NMake ARM64 No Test
+            os: windows-latest
+            makefile: win32/Makefile.a64
+            vc-vars: x86_arm64
+
     steps:
     - name: Checkout repository
       uses: actions/checkout@v1
@@ -34,6 +46,8 @@ jobs:
 
     - name: Run test cases
       shell: cmd
+      # Don't run tests on Windows ARM
+      if: contains(matrix.vc-vars, 'arm') == false
       run: |
         call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.vc-vars }}
         nmake -f ${{ matrix.makefile }} test