Browse Source

Make dir and symlink

tags/v0.3.12-rc0
haixuanTao 9 months ago
parent
commit
1279aa58fb
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      .github/workflows/node-hub-ci-cd.yml

+ 3
- 7
.github/workflows/node-hub-ci-cd.yml View File

@@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: ${{ github.event_name != 'workflow_dispatch' && !(github.event_name == 'release' && startsWith(github.ref, 'refs/tags/')) }}
matrix:
platform: [ubuntu-22.04, macos-14]
platform: [ubuntu-24.04, macos-14]
folder: ${{ fromJson(needs.find-jobs.outputs.folders )}}
steps:
- name: Checkout repository
@@ -43,11 +43,6 @@ jobs:
with:
submodules: true # Make sure to check out the sub-module

- name: Enable Universe Repository
run: |
sudo sed -i 's|^# deb http://archive.ubuntu.com/ubuntu/.*$|deb http://archive.ubuntu.com/ubuntu/ mantic-updates main restricted universe multiverse|' /etc/apt/sources.list
sudo apt-get update

- name: Update submodule
if: runner.os == 'Linux'
run: |
@@ -60,7 +55,8 @@ jobs:
sudo apt update
sudo apt-get install portaudio19-dev
sudo apt-get install libdav1d-dev nasm
cp /lib/x86_64-linux-gnu/libdav1d.so $HOME/.rustup/toolchains/1.84-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libdav1d.so
mkdir -p $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib
ln -s /lib/x86_64-linux-gnu/libdav1d.so $HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libdav1d.so

# Install mingw-w64 cross-compilers
sudo apt install g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64


Loading…
Cancel
Save