Skip to content

Commit

Permalink
Create build-linux-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Oct 20, 2023
1 parent 0bb7a0a commit ff882f9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build-linux-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

name: Build Linux in PR

on:
pull_request:
types:
- opened
- edited
- reopened

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

0 comments on commit ff882f9

Please sign in to comment.