From f7cfe7ce932dde022b7c112d85ddfa7732fec2cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 6 Jul 2021 23:18:48 +0200 Subject: [PATCH] Add more CI configurations --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62924dc..22e0ab6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,16 +7,44 @@ on: branches: [ master ] jobs: - build: - name: Build - runs-on: ubuntu-latest + macos: + name: macOS + runs-on: macos-latest steps: - name: Checkout repository uses: actions/checkout@v2 - name: Install dependencies - run: sudo apt-get install libfuse-dev fuse + run: brew install osxfuse + + - name: Build + run: make + + - name: Install + run: sudo make install + + linux: + name: Linux + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + arch: [x86_64, i386] + + env: + ARCH: ${{ matrix.arch }} + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install dependencies + run: | + sudo dpkg --add-architecture $ARCH + sudo apt-get update + sudo apt-get install -y g++-multilib pkg-config:$ARCH libfuse-dev:$ARCH fuse:$ARCH - name: Build run: make