diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 43cf43755..0e2886584 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -64,6 +64,13 @@ jobs: - name: Build run: make -j2 github-build + env: + MACOSX_DEPLOYMENT_TARGET: 13 # FIXME + + - name: Check macOS minumum Version + if: contains(matrix.os, 'macos') + # this uses grep's exit code + run: otool -l build/launcher | grep "minos 11" - name: Lipo run: make github-lipo @@ -83,6 +90,13 @@ jobs: key: ${{ runner.os }}-${{ github.run_id }} enableCrossOsArchive: true + # upload coverage here, because we don't cache it with the build + - name: Upload coverage + uses: actions/upload-artifact@v3 + with: + name: ${{ runner.os }}-coverage.out + path: coverage.out + exec_testing: name: Exec Test runs-on: ${{ matrix.os }} @@ -153,12 +167,6 @@ jobs: path: build/ if-no-files-found: error - - name: Upload coverage - uses: actions/upload-artifact@v3 - with: - name: ${{ matrix.artifactos }}-coverage.out - path: coverage.out - package_builder_test: name: package_builder