Skip to content

Commit

Permalink
🚑 Fix linux builds, install libx11-dev in PRE_BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Feb 9, 2023
1 parent 9c7a26d commit a528900
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ jobs:
archive: tar.gz
- target: x86_64-apple-darwin
archive: zip

steps:
- uses: actions/checkout@master

- name: Compile and release
uses: rust-build/rust-build.action@v1.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
RUSTTARGET: ${{ matrix.target }}
ARCHIVE_TYPES: ${{ matrix.archive }}
PRE_BUILD: build-dependencies.sh
3 changes: 3 additions & 0 deletions build-dependencies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

apk add libx11-dev

0 comments on commit a528900

Please sign in to comment.