From 9af4fa2a91c73c4f7ca65e6aec8c0ee4633ff81f Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Thu, 16 Nov 2023 15:19:11 -0600 Subject: [PATCH] ci: add a crossbuild workflow --- .github/workflows/crossbuild.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/crossbuild.yml diff --git a/.github/workflows/crossbuild.yml b/.github/workflows/crossbuild.yml new file mode 100644 index 0000000..42feab3 --- /dev/null +++ b/.github/workflows/crossbuild.yml @@ -0,0 +1,25 @@ +name: Cross-build openrsync +on: + push: + branches: ['*'] + pull_request: + types: [opened, reopened] +permissions: + contents: read +jobs: + build: + name: ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-20.04, ubuntu-22.04, macos-latest] + include: + - os: ubuntu-20.04 + - os: ubuntu-22.04 + - os: macos-latest + steps: + - uses: actions/checkout@v3 + - name: configure + run: ./configure + - name: build + run: make