diff --git a/.github/workflows/ZenLib_Checks.yml b/.github/workflows/ZenLib_Checks.yml index 7206f5b..85a4b49 100644 --- a/.github/workflows/ZenLib_Checks.yml +++ b/.github/workflows/ZenLib_Checks.yml @@ -11,9 +11,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout - uses: actions/checkout@v2 - with: - fetch-depth: 1 + uses: actions/checkout@v4 - name: Dependencies run: | if [ "$RUNNER_OS" == "macOS" ]; then @@ -27,7 +25,7 @@ jobs: - name: Build run: | cd Project/GNU/Library - make + make -j4 - name: Check run: | cd Project/GNU/Library @@ -37,7 +35,7 @@ jobs: mkdir Project/CMake/Build cd Project/CMake/Build cmake -DBUILD_ZENLIB=1 .. - make + make -j4 Windows: runs-on: windows-latest @@ -46,14 +44,16 @@ jobs: architecture: [ Win32, x64, ARM64 ] fail-fast: false steps: - - name: Checkout ZenLib - uses: actions/checkout@v4 - with: - path: ZenLib - - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v2 - - name: Build - run: msbuild /p:Configuration=Release /p:Platform=${{ matrix.architecture }} ${{ github.workspace }}\ZenLib\Project\MSVC2022\ZenLib_MSVC.sln /verbosity:quiet /warnaserror + - name: Checkout ZenLib + uses: actions/checkout@v4 + with: + path: ZenLib + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v2 + with: + msbuild-architecture: x64 + - name: Build + run: msbuild -p:Configuration=Release -p:Platform=${{ matrix.architecture }} ${{ github.workspace }}\ZenLib\Project\MSVC2022\ZenLib_MSVC.sln -verbosity:quiet -warnaserror MinGW: runs-on: windows-latest @@ -84,4 +84,4 @@ jobs: cmake -S Project/CMake -B build -G "$GENERATOR" -DCMAKE_BUILD_TYPE=$CONFIGURATION - name: Build project using make shell: bash - run: make -C build -j + run: make -C build -j4