Add caching, use a compatible base image
Some checks failed
Build binaries and publish / build-linux (aarch64-unknown-linux-gnu) (push) Failing after 9m33s
Build binaries and publish / build-linux (aarch64-unknown-linux-musl) (push) Failing after 10s
Build binaries and publish / build-linux (x86_64-unknown-linux-gnu) (push) Failing after 9s
Build binaries and publish / build-linux (x86_64-unknown-linux-musl) (push) Failing after 8s

This commit is contained in:
Anton Liaposhchenko 2023-12-27 20:56:04 +02:00
parent 7e45aea6fa
commit ac7c9463b4
2 changed files with 6 additions and 1 deletions

View File

@ -34,6 +34,11 @@ jobs:
- run: npm install - run: npm install
- run: npm run build -- --release - run: npm run build -- --release
- uses: actions/cache@v3
with:
path: target
key: ${{ matrix.target }}-rust-target
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: binary-${{ matrix.target }} name: binary-${{ matrix.target }}

View File

@ -1,4 +1,4 @@
FROM node:20-bookworm FROM ghcr.io/catthehacker/ubuntu:js-22.04
RUN apt-get update RUN apt-get update
RUN apt-get install -yqq wget build-essential yasm libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libavfilter-dev libavdevice-dev libswresample-dev libfftw3-dev libclang-dev ffmpeg RUN apt-get install -yqq wget build-essential yasm libavutil-dev libavcodec-dev libavformat-dev libavfilter-dev libavfilter-dev libavdevice-dev libswresample-dev libfftw3-dev libclang-dev ffmpeg