Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SOVLOOKUP authored Dec 8, 2023
1 parent 4f627e1 commit 387534e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,30 +184,30 @@ jobs:
apk update
apk add curl git gcc g++ make cmake gfortran libffi-dev openssl-dev autoconf automake libtool libuuid libevdev-dev xdo xdotool-dev 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 /dev/stdin -y
source $HOME/.cargo/env
source /root/.cargo/env
rustup install nightly
rustup default nightly
rustup target add aarch64-unknown-linux-musl
build: |-
cd /addon
cd addon/
npm install
build: |-
PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-musl npm run build
strip *.node
- distro: ubuntu
target: aarch64-unknown-linux-gnu
install: |-
apt-get update
apt-get install nodejs npm libxdo-dev uuid-dev libc-dev pkg-config libglib2.0-dev libgtk-3-dev libgtk2.0-dev libpango1.0-dev libcairo2-dev libfontconfig1-dev -y
npm install n -g
n stable
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh /dev/stdin -y
source $HOME/.cargo/env
source /root/.cargo/env
rustup install nightly
rustup default nightly
rustup target add aarch64-unknown-linux-gnu
build: |-
cd /addon
npm install n -g
n stable
cd addon/
npm install
build: |-
PKG_CONFIG_SYSROOT_DIR=/ CARGO_BUILD_TARGET=aarch64-unknown-linux-gnu npm run build
strip *.node
name: ${{ matrix.settings.target }}
Expand All @@ -234,7 +234,8 @@ jobs:
--volume "${PWD}:/addon"
--volume "~/.cargo:/root/.cargo"
setup: |
source $HOME/.cargo/env
source /root/.cargo/env
cd /addon
install: ${{ matrix.settings.install }}
run: ${{ matrix.settings.build }}
- name: Upload artifact
Expand Down

0 comments on commit 387534e

Please sign in to comment.