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