Skip to content

Commit

Permalink
Install system-wide and user-style
Browse files Browse the repository at this point in the history
  • Loading branch information
rootmos committed Nov 16, 2023
1 parent 526ea37 commit 6004932
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- name: Checkout prepare script
uses: actions/checkout@v4
with:
depth: 1
sparse-checkout: prepare.sh
sparse-checkout-cone-mode: false

Expand All @@ -34,3 +35,29 @@ jobs:

- name: Check README.md
run: tools/is-clean --make --root=doc README.md

test:
needs: build
continue-on-error: true
strategy:
matrix:
kind: [ "system", "user" ]
runs-on: ubuntu-latest
steps:
- name: Checkout prepare script
uses: actions/checkout@v4
with:
depth: 1

- name: Prepare build environment
run: ./prepare.sh -us | tee -a "$GITHUB_ENV"

- name: Install
run: |
if [ "${{ matrix.kind }}" = "user" ]; then
./install.sh -u
elif [ "${{ matrix.kind }}" = "system" ]; then
sudo ./install.sh -s
else
exit 1
fi

0 comments on commit 6004932

Please sign in to comment.