Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): adds a workflow to build linux in every PR #1365

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/build-linux-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Linux in PR

on: [pull_request]

jobs:
check:
name: Build Linux
runs-on: ubuntu-latest
steps:
- name: Get latest package list
run: sudo apt-get update
- name: Install libwebkit2gtk
run: sudo apt-get install -y build-essential pkg-config libssl-dev libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev librust-alsa-sys-dev dpkg-dev gzip libxdo-dev
- name: Checkout sources
uses: actions/checkout@v2
- name: Build executable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.70.0
override: true
- run: cargo build