|
79 | 79 | run: cmake --build build --parallel 10 |
80 | 80 | - name: test |
81 | 81 | run: cd build ; ctest -j 10 --output-on-failure |
| 82 | + |
| 83 | + |
| 84 | + xcode_26: |
| 85 | + strategy: |
| 86 | + fail-fast: false |
| 87 | + matrix: |
| 88 | + xcode: ['26'] |
| 89 | + build_type: [Debug, Release] |
| 90 | + runs-on: macos-latest |
| 91 | + |
| 92 | + steps: |
| 93 | + - uses: actions/checkout@v5 |
| 94 | + with: |
| 95 | + submodules: recursive |
| 96 | + - uses: maxim-lobanov/setup-xcode@v1 |
| 97 | + with: |
| 98 | + xcode-version: ${{ matrix.xcode }} |
| 99 | + - name: cmake |
| 100 | + run: cmake -S . -B build -DJSONCONS_SANITIZE=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DJSONCONS_BUILD_TESTS=On |
| 101 | + - name: build |
| 102 | + working-directory: build/ |
| 103 | + run: cmake --build . |
| 104 | + - name: test |
| 105 | + working-directory: build/ |
| 106 | + run: ctest --output-on-failure |
| 107 | + - name: Cache |
| 108 | + |
| 109 | + with: |
| 110 | + # A list of files, directories, and wildcard patterns to cache and restore |
| 111 | + path: |
| 112 | + # An explicit key for restoring and saving the cache |
| 113 | + key: |
| 114 | + # An ordered multiline string listing the prefix-matched keys, that are used for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case. |
| 115 | + restore-keys: # optional |
| 116 | + # The chunk size used to split up large files during upload, in bytes |
| 117 | + upload-chunk-size: # optional |
| 118 | + # An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms |
| 119 | + enableCrossOsArchive: # optional, default is false |
| 120 | + # Fail the workflow if cache entry is not found |
| 121 | + fail-on-cache-miss: # optional, default is false |
| 122 | + # Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache |
| 123 | + lookup-only: # optional, default is false |
| 124 | + # Run the post step to save the cache even if another step before fails |
| 125 | + save-always: # optional, default is false |
| 126 | + |
0 commit comments