Skip to content

Commit

Permalink
Switch to cross-platform-actions for freebsd build
Browse files Browse the repository at this point in the history
  • Loading branch information
kearfy committed Oct 30, 2023
1 parent ca51bdf commit 1018fc5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,20 @@ jobs:
- uses: actions/checkout@v3
- name: Build
id: build
uses: vmactions/freebsd-vm@v0
uses: cross-platform-actions/[email protected]
timeout-minutes: 40
env:
DEBUG: napi:*
RUSTUP_HOME: /usr/local/rustup
CARGO_HOME: /usr/local/cargo
RUSTUP_IO_THREADS: 1
with:
envs: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS
usesh: true
mem: 3000
prepare: |
operating_system: freebsd
version: '13.2'
environment_variables: DEBUG RUSTUP_HOME CARGO_HOME RUSTUP_IO_THREADS
shell: sh
memory: 3G
run: |
pkg install -y -f curl node libnghttp2 npm yarn
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain beta
Expand All @@ -189,7 +192,6 @@ jobs:
node -v
echo "~~~~ yarn --version ~~~~"
yarn --version
run: |
export PATH="/usr/local/cargo/bin:$PATH"
pwd
ls -lah
Expand Down

0 comments on commit 1018fc5

Please sign in to comment.