From ce31ebc25b3fa291573d94e74eeb6eb53de4ce7a Mon Sep 17 00:00:00 2001 From: Henrik Friedrichsen Date: Sat, 21 Mar 2020 17:57:56 +0100 Subject: [PATCH] perform CI via github actions --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..edf1de3 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Rust + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build-macos: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: brew install portaudio pkg-config + - name: Build + run: cargo build --verbose --no-default-features --features portaudio_backend,cursive/pancurses-backend + + build-linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: sudo apt install libpulse-dev libdbus-1-dev libncursesw5-dev libxcb-shape0-dev libxcb-xfixes0-dev + - name: Build + run: cargo build --verbose