diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c7b41ff..9fbec1b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,19 +3,31 @@ on: push: jobs: - linux: - name: "Linux" - runs-on: ubuntu-latest + tests: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + + runs-on: ${{ matrix.os }} + name: "Test ${{ matrix.os }}" steps: - name: Checkout uses: actions/checkout@v4 - - name: Setup Packages + - name: Install dependencies for Linux + if: matrix.runner == 'ubuntu-latest' shell: bash run: |+ sudo apt -y update sudo apt -y install autoconf automake texinfo + - name: Install dependencies for macOS + if: matrix.runner == 'macos-latest' + shell: bash + run: |+ + brew install autoconf automake texinfo + brew link autoconf automake + - name: Configure shell: bash run: sh ./autogen.sh