feat(binaries): use documents directory for work #758
This file contains 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: Installation Test (native) | |
on: push | |
# Available runners | |
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources | |
jobs: | |
local: | |
name: Local Installation (${{ matrix.os }}) [${{ matrix.flag }}] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
flag: [-v, '', -q] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Clean Up Environment | |
run: | | |
if test -f /usr/local/bin/go; then | |
rm -f /usr/local/bin/go* | |
fi | |
if test -f /usr/local/bin/2to3; then | |
rm -f /usr/local/bin/2to3* | |
rm -f /usr/local/bin/py* | |
rm -f /usr/local/bin/idle3* | |
fi | |
if test -d /usr/local/lib/node_modules; then | |
rm -rf /usr/local/lib/node_modules | |
fi | |
- name: Installation Info | |
run: | | |
sh install.sh -i | |
- name: Perform Installation | |
env: | |
FLAG: ${{ matrix.flag }} | |
run: | | |
sh install.sh --profile=ci $FLAG no-app-store | |
remote: | |
name: Remote Installation (${{ matrix.os }}) [${{ matrix.flag }}] | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest] | |
flag: [-v, '', -q] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Clean Up Environment | |
run: | | |
if test -f /usr/local/bin/go; then | |
rm -f /usr/local/bin/go* | |
fi | |
if test -f /usr/local/bin/2to3; then | |
rm -f /usr/local/bin/2to3* | |
rm -f /usr/local/bin/py* | |
rm -f /usr/local/bin/idle3* | |
fi | |
if test -d /usr/local/lib/node_modules; then | |
rm -rf /usr/local/lib/node_modules | |
fi | |
- name: Installation Info | |
run: | | |
sh -c "$(curl -sSL dots.spywhere.me)" - -i | |
- name: Perform Installation | |
env: | |
FLAG: ${{ matrix.flag }} | |
run: | | |
sh -c "$(curl -sSL dots.spywhere.me)" - --profile=ci $FLAG no-app-store |