diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f3748fa..1231f18 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -28,31 +28,33 @@ jobs: - uses: actions/checkout@v3 - name: Build id: build - uses: vmactions/freebsd-vm@v0 + uses: cross-platform-actions/action@v0.21.1 env: DEBUG: 'napi:*' - RUSTUP_HOME: /usr/local/rustup - CARGO_HOME: /usr/local/cargo + RUSTUP_HOME: /home/runner/rustup + CARGO_HOME: /home/runner/cargo RUSTUP_IO_THREADS: 1 with: - envs: 'DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS' - usesh: true - mem: 3000 - prepare: | - pkg install -y -f curl node libnghttp2 - curl -qL https://www.npmjs.com/install.sh | sh - npm install --location=global --ignore-scripts yarn + operating_system: freebsd + version: '13.2' + memory: 13G + cpu_count: 3 + hypervisor: qemu + environment_variables: 'DEBUG RUSTUP_IO_THREADS' + shell: bash + run: | + env | sort + sudo pkg install -y -f curl node libnghttp2 npm + sudo npm install -g yarn --ignore-scripts curl https://sh.rustup.rs -sSf --output rustup.sh - sh rustup.sh -y --profile minimal --default-toolchain stable - export PATH="/usr/local/cargo/bin:$PATH" + sh rustup.sh -y --default-toolchain nightly-2023-10-25 + source "$HOME/.cargo/env" echo "~~~~ rustc --version ~~~~" rustc --version echo "~~~~ node -v ~~~~" node -v echo "~~~~ yarn --version ~~~~" yarn --version - run: | - export PATH="/usr/local/cargo/bin:$PATH" pwd ls -lah whoami diff --git a/rust-toolchain b/rust-toolchain index dda13a7..4d0ddde 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2023-10-31 +nightly-2023-10-25