diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-03-06 23:46:51 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2021-03-12 11:56:27 +0000 |
| commit | abc7e7425b4bab955ef000ea4dc05d636f028f58 (patch) | |
| tree | f84ff1929ff8ac47388b3fe18f45e909c51c9d90 /.github/workflows | |
| parent | 222245038cb3989bc6bcdfb6735bfb1e1017b71a (diff) | |
| download | mullvadvpn-abc7e7425b4bab955ef000ea4dc05d636f028f58.tar.xz mullvadvpn-abc7e7425b4bab955ef000ea4dc05d636f028f58.zip | |
Add daemon build job for Linux
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/daemon.yml | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/.github/workflows/daemon.yml b/.github/workflows/daemon.yml new file mode 100644 index 0000000000..69a0991b3f --- /dev/null +++ b/.github/workflows/daemon.yml @@ -0,0 +1,63 @@ +name: Mullvad VPN daemon CI +on: + # Build whenever a file that affects a Rust crate is changed by a push + push: + paths-ignore: + - '**/*.md' + - .github/workflows/android*.yml + - .github/workflows/rustfmt.yml + - android/** + - audits/** + - ci/buildserver-* + - ci/ci-* + - dist-assets/** + - docs/** + - graphics/** + - gui/** + - ios/** + - mullvad-jni/** + - scripts/** + - '.*ignore' + - .editorconfig + - .gitattributes + - .travis.yml + - Dockerfile + - build.sh + - build-apk.sh + - integration-tests.sh + - prepare-release.sh + - rustfmt.toml + - update-api-address.sh + - update-relays.sh + - version-metadata.sh + # Build if requested manually from the Actions tab + workflow_dispatch: +jobs: + build: + strategy: + matrix: + rust: [stable, beta, nightly] + + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Checkout binaries submodule + run: git submodule update --init --depth=1 dist-assets/binaries + + - name: Install Rust + uses: ATiltedTree/setup-rust@v1.0.4 + with: + rust-version: ${{ matrix.rust }} + + - name: Install Go + uses: actions/setup-go@v2.1.3 + with: + go-version: 1.16 + + - name: Install build dependencies + run: sudo apt-get install libdbus-1-dev + + - name: Build and test crates + run: ./ci/check-rust.sh |
