Explorar el Código

Merge pull request #12225 from liamwhite/mac-ci

Add mac workflow
liamwhite hace 2 años
padre
commit
5345ab40eb
Se han modificado 2 ficheros con 20 adiciones y 1 borrados
  1. 19 0
      .github/workflows/verify.yml
  2. 1 1
      externals/nx_tzdb/tzdb_to_nx

+ 19 - 0
.github/workflows/verify.yml

@@ -68,6 +68,25 @@ jobs:
         with:
           name: ${{ matrix.type }}
           path: artifacts/
+  build-mac:
+    name: 'test build (macos)'
+    needs: format
+    runs-on: macos-13
+    steps:
+      - uses: actions/checkout@v3
+        with:
+          submodules: recursive
+          fetch-depth: 0
+      - name: Install dependencies
+        run: |
+          brew install autoconf automake boost@1.83 ccache ffmpeg fmt glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl pkg-config qt@5 sdl2 speexdsp zlib zlib zstd
+      - name: Build
+        run: |
+          mkdir build
+          cd build
+          export Qt5_DIR="/usr/local/opt/qt@5/lib/cmake"
+          cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DYUZU_USE_BUNDLED_VCPKG=OFF -DYUZU_TESTS=OFF -DENABLE_WEB_SERVICE=OFF -DENABLE_LIBUSB=OFF
+          ninja
   build-msvc:
     name: 'test build (windows, msvc)'
     needs: format

+ 1 - 1
externals/nx_tzdb/tzdb_to_nx

@@ -1 +1 @@
-Subproject commit 0d17dd066d91f954a4c89d46dcb067eead6b1e4a
+Subproject commit f6680093bca30265c161581fd813d4ddd33f1e3e