Merge pull request #3 from androzdev/fix-attempt

FreeBSD fix
This commit is contained in:
Archaeopteryx authored and GitHub committed 2023-08-10 04:59:41 +05:45
commit 9077961fe5
1 file changed
+4 -3
+4 -3
View File
@@ -95,7 +95,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: true
submodules: true
- name: Setup node
uses: actions/setup-node@v3
if: ${{ !matrix.settings.docker }}
@@ -178,11 +178,12 @@ jobs:
usesh: true
mem: 3000
prepare: |
pkg install -y -f curl node libnghttp2
pkg install -y -f curl node libnghttp2 llvm cmake # Install the llvm package to fix the libclang error
curl -qL https://www.npmjs.com/install.sh | sh
npm install --location=global --ignore-scripts yarn
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain beta
rustup component add rustfmt
export PATH="/usr/local/cargo/bin:$PATH"
echo "~~~~ rustc --version ~~~~"
rustc --version
@@ -506,4 +507,4 @@ jobs:
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}