aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-24 11:18:29 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-24 11:18:29 +0100
commit40b95e145faf8781cbb12215c07a62c846c214fe (patch)
tree925d1ede98884aff19bfb0c87986be0f438db5b5 /.github/workflows/ci.yml
parentworkflows: upgrade actions (diff)
parentREADME: update (diff)
downloadconfig-links-40b95e145faf8781cbb12215c07a62c846c214fe.tar.gz
config-links-40b95e145faf8781cbb12215c07a62c846c214fe.zip
Merge tag 'v2.0.2' into debian
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5c0cd21..f4954c4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -7,10 +7,23 @@ on:
jobs:
test:
- runs-on: ubuntu-latest
- name: Test
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest]
+ runs-on: '${{ matrix.os }}'
+ name: 'Test / ${{ matrix.os }}'
steps:
- name: Checkout
uses: actions/checkout@v3
+
+ - name: Install dependencies
+ run: |
+ brew install bash coreutils findutils
+ echo "$(brew --prefix)/opt/coreutils/libexec/gnubin" >> "$GITHUB_PATH"
+ echo "$(brew --prefix)/opt/findutils/libexec/gnubin" >> "$GITHUB_PATH"
+ if: runner.os == 'macOS'
+ # Is it even macOS anymore? It is for me. I really am too lazy to deal
+ # with ancient utilities that come with the actual macOS.
+
- name: Test
run: ./test/test.sh