-rw-r--r-- | .github/workflows/macos.yml | 26 | ||||
-rw-r--r-- | .github/workflows/ubuntu.yml (renamed from .github/workflows/test.yml) | 12 |
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 00000000..a6415733 --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,26 @@ +name: libcdio (macos) + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - name: Setup + run: | + brew install automake + brew install libtool + brew install help2man + brew install texinfo + - name: Build + run: | + set -x + ./autogen.sh + make V=1 + - name: Run libcdio tests + run: make check diff --git a/.github/workflows/test.yml b/.github/workflows/ubuntu.yml index e59dfd5b..28f966bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/ubuntu.yml @@ -1,18 +1,22 @@ -name: Run tests +name: libcdio (ubuntu) -on: [push, pull_request] +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Setup + - name: Install OS dependencies run: sudo apt-get install -y help2man - name: Build run: | set -x ./autogen.sh make V=1 - - name: Run tests + - name: Run libcdio tests run: make check |