diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index e7b73d3..3b41c3e 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -5,18 +5,25 @@ on: [push, pull_request] jobs: build: - runs-on: windows-latest - + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macOS-latest] + steps: - uses: hecrj/setup-rust-action@master with: rust-version: stable - + + - name: Install dependencies + run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.0-dev libssl-dev + if: runner.os == 'Linux' + - uses: actions/setup-node@v1 with: - node-version: '10.x' + node-version: '12.x' - run: npm install -g yarn - - - uses: actions/checkout@v1 + + - uses: actions/checkout@v2 - name: Build run: cargo build --verbose diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f173ee1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -matrix: - include: - - os: linux - language: cpp - sudo: required - dist: trusty - services: docker - install: docker pull rust:1 - cache: - directories: - - $HOME/.cargo - - $TRAVIS_BUILD_DIR/ui/node_modules - script: docker run -v $HOME/.cargo:/root/.cargo -v $(pwd):/liftinstall rust:1 /bin/bash -ex /liftinstall/.travis/build.sh - - - os: osx - language: rust - cache: cargo - osx_image: xcode10 - script: brew install yarn && cargo build - - - os: windows - language: rust - cache: cargo - script: - - choco install nodejs yarn - - export PATH="$PROGRAMFILES/nodejs/:$PROGRAMFILES (x86)/Yarn/bin/:$PATH" - - cargo build