diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe76def..94cfe00 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,13 +28,20 @@ jobs: - uses: actions/checkout@v2 - name: Build run: | - cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=Release - cmake --build ${{github.workspace}}/build - - name: Upload MacOS build + cmake -B ${{github.workspace}}/build/x86_64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=x86_64 + cmake --build ${{github.workspace}}/build/x86_64 + cmake -B ${{github.workspace}}/build/arm64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 + cmake --build ${{github.workspace}}/build/arm64 + - name: Upload MacOS x86_64 build uses: actions/upload-artifact@v2 with: - name: macos - path: ${{github.workspace}}/build/Analyzers/*.so + name: macos_x86_64 + path: ${{github.workspace}}/build/x86_64/Analyzers/*.so + - name: Upload MacOS arm64 build + uses: actions/upload-artifact@v2 + with: + name: macos_arm64 + path: ${{github.workspace}}/build/arm64/Analyzers/*.so linux: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 2121ebc..da80216 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Dependencies: - XCode with command line tools - CMake 3.13+ +- git Installing command line tools after XCode is installed: @@ -50,6 +51,7 @@ Dependencies: - CMake 3.13+ - gcc 4.8+ +- git Misc dependencies: @@ -72,6 +74,7 @@ Dependencies: - Visual Studio 2019 - CMake 3.13+ +- git **Visual Studio 2019** @@ -88,6 +91,11 @@ Note - if CMake has any problems with the MSVC compiler, it's likely a component Download and install the latest CMake release here. https://cmake.org/download/ +**git** + +Download and install git here. +https://git-scm.com/ + Building the analyzer: ```