Skip to content

Allow rsync command to be manually specified #12

Allow rsync command to be manually specified

Allow rsync command to be manually specified #12

Workflow file for this run

---
# -------------------------------------------------------------------------------------------------
# Job Name
# -------------------------------------------------------------------------------------------------
name: MacOS-10
# -------------------------------------------------------------------------------------------------
# When to run
# -------------------------------------------------------------------------------------------------
on:
# Runs on Pull Requests
pull_request:
# Runs on master Branch and Tags
push:
branches:
- master
tags:
- '[0-9]+.[0-9]+*'
# -------------------------------------------------------------------------------------------------
# What to run
# -------------------------------------------------------------------------------------------------
jobs:
macos-10:
runs-on: macos-10.15
strategy:
fail-fast: false
matrix:
target:
- test-local-default-abs-noslash-noslash
- test-local-default-abs-noslash-slash
- test-local-default-abs-slash-noslash
- test-local-default-abs-slash-slash
- test-local-default-rel-noslash-noslash
- test-local-default-rel-noslash-slash
- test-local-default-rel-slash-noslash
- test-local-default-rel-slash-slash
- test-local-no_perms
- test-local-no_times
- test-local-copy_links
- test-local-crazy-filename-chars
- test-local-crazy-pathname-chars
name: "[MacOS ${{ matrix.target }}]"
steps:
# ------------------------------------------------------------
# Checkout repository
# ------------------------------------------------------------
- name: Checkout repository
uses: actions/checkout@v1
- name: Show environment
shell: bash
run: |
env
- name: Show user
shell: bash
run: |
id
- name: Show bash versions
shell: bash
run: |
bash --version
- name: Show rsync versions
shell: bash
run: |
rsync --version
# ------------------------------------------------------------
# Install
# ------------------------------------------------------------
- name: Install
shell: bash
run: |
sudo make install
/usr/local/bin/timemachine --version
# ------------------------------------------------------------
# Test
# ------------------------------------------------------------
- name: Test
shell: bash
run: |
make ${TARGET}
env:
TARGET: ${{ matrix.target }}
# ------------------------------------------------------------
# Uninstall
# ------------------------------------------------------------
- name: Uninstall
shell: bash
run: |
sudo make uninstall
if test -f /usr/local/bin/timemachine >/dev/null 2>&1; then false; fi