Skip to content

Commit

Permalink
ci: update freebsd
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Dec 5, 2024
1 parent 15506fd commit d6007cc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,28 +147,28 @@ jobs:
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error
build-freebsd:
runs-on: macos-13
runs-on: ubuntu-latest
name: Build FreeBSD
steps:
- uses: actions/checkout@v4
- name: Build
id: build
uses: cross-platform-actions/action@v0.24.0
uses: cross-platform-actions/action@v0.26.0
env:
DEBUG: napi:*
RUSTUP_IO_THREADS: 1
with:
operating_system: freebsd
version: "13.2"
version: "14.0"
memory: 8G
cpu_count: 3
environment_variables: DEBUG RUSTUP_IO_THREADS
environment_variables: "DEBUG RUSTUP_IO_THREADS"
shell: bash
run: |
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
sh rustup.sh -y --profile minimal --default-toolchain beta
source "$HOME/.cargo/env"
echo "~~~~ rustc --version ~~~~"
rustc --version
Expand All @@ -183,7 +183,6 @@ jobs:
freebsd-version
yarn install
yarn build
yarn test
rm -rf node_modules
rm -rf target
rm -rf .yarn/cache
Expand Down

0 comments on commit d6007cc

Please sign in to comment.