[Backport][0.8 to 0.7] | extfs: use unique signature instead of deadbeefcafe (#1584) (#1592) (#1593)
#2283
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: macOS-matrix | |
| # Runs triggered by removing an irrelevant label would have all jobs skipped, but they | |
| # still enter the concurrency group and would cancel an in-progress CI run. Divert them | |
| # into a separate '-noop' group so they never interfere with real CI runs. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}${{ (github.event.action == 'unlabeled' && github.event.label.name != 'needs-manual-merge') && '-noop' || '' }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, unlabeled] | |
| branches: [ "main", "release/*" ] | |
| jobs: | |
| macOS14-arm: | |
| if: ${{ !contains(github.event.pull_request.labels.*.name, 'needs-manual-merge') && (github.event.action != 'unlabeled' || github.event.label.name == 'needs-manual-merge') }} | |
| runs-on: macos-15 | |
| steps: | |
| - uses: szenius/set-timezone@v2.0 | |
| with: | |
| timezoneLinux: "Asia/Shanghai" | |
| timezoneMacos: "Asia/Shanghai" | |
| timezoneWindows: "China Standard Time" | |
| - uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| shell: bash | |
| run: | | |
| brew install openssl@3 gflags googletest gsasl | |
| - name: Build | |
| run: | | |
| export OPENSSL_TOP=$(brew --prefix openssl@3) | |
| export OPENSSL_VERSION=$(ls -1 $OPENSSL_TOP | grep -E '^[0-9]' | head -1) | |
| export OPENSSL_DIR="$OPENSSL_TOP/$OPENSSL_VERSION" | |
| cmake -B ${{github.workspace}}/build \ | |
| -D PHOTON_CXX_STANDARD=17 \ | |
| -D PHOTON_ENABLE_ECOSYSTEM=ON \ | |
| -D PHOTON_BUILD_TESTING=ON \ | |
| -D CMAKE_BUILD_TYPE=MinSizeRel \ | |
| -D PHOTON_ENABLE_SASL=ON \ | |
| -D PHOTON_ENABLE_LIBCURL=ON \ | |
| -D OPENSSL_ROOT_DIR=${OPENSSL_DIR} | |
| cmake --build ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu) | |
| - name: Test | |
| working-directory: ${{github.workspace}}/build | |
| run: ctest -E test-lockfree --timeout 3600 -V |