diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b79f0d6..ce27162 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,10 @@ 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: @@ -27,3 +29,4 @@ jobs: with: RUSTTARGET: ${{ matrix.target }} ARCHIVE_TYPES: ${{ matrix.archive }} + PRE_BUILD: build-dependencies.sh diff --git a/build-dependencies.sh b/build-dependencies.sh new file mode 100755 index 0000000..d170ac9 --- /dev/null +++ b/build-dependencies.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +apk add libx11-dev