diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 8e19440..1b5fc2d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -141,10 +141,11 @@ jobs: run: |- set -e && apk update && - apk add libuuid xdo libc-dev pkgconfig glib-dev gtk+3.0-dev pango-dev cairo-dev fontconfig-dev rustup nodejs npm && + apk add curl gcc libuuid xdo libc-dev pkgconfig glib-dev gtk+3.0-dev pango-dev cairo-dev fontconfig-dev nodejs npm && + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -y && source $HOME/.cargo/env && - npm install && rustup target add ${{ matrix.settings.target }} && + npm install && PKG_CONFIG_SYSROOT_DIR=/ npm run build --target ${{ matrix.settings.target }} && strip *.node - name: Upload artifact