Add an Option To Preserve Parent Modification Time #40
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: CI | |
| on: | |
| push: | |
| branches-ignore: [ "master" ] | |
| pull_request_target: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check: | |
| strategy: | |
| matrix: | |
| version: [26, 15, 14] | |
| runs-on: macOS-${{ matrix.version }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install MacPorts | |
| shell: bash | |
| run: | | |
| MATRIX_VERSION="${{ matrix.version }}" | |
| case "${MATRIX_VERSION}" in | |
| 26) OS_NAME="Tahoe" ;; | |
| 15) OS_NAME="Sequoia" ;; | |
| 14) OS_NAME="Sonoma" ;; | |
| *) OS_NAME="Ventura" ;; | |
| esac | |
| MACPORTS_VERSION=2.12.5 | |
| MACPORTS_PKG_NAME="MacPorts-${MACPORTS_VERSION}-${MATRIX_VERSION}-${OS_NAME}.pkg" | |
| MACPORTS_URL="https://github.com/macports/macports-base/releases/download/v${MACPORTS_VERSION}/${MACPORTS_PKG_NAME}" | |
| wget "${MACPORTS_URL}" --output-document "${MACPORTS_PKG_NAME}" | |
| sudo installer -pkg "./${MACPORTS_PKG_NAME}" -target / | |
| sudo /opt/local/bin/port install check | |
| - name: make check | |
| run: make check |