chore(repo): update freebsd publish to run on ubuntu and use latest f… (#26924)
…reebsd to fix issue <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> There's an issue with running `npm` when building on freebsd ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> There are no issues building on freebsd ## Related Issue(s) <!-- Please link the issue being fixed so it gets closed when this is merged. --> Fixes #
This commit is contained in:
parent
92d0e15d1f
commit
37f0ccaa20
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
@ -289,7 +289,7 @@ jobs:
|
|||||||
build-freebsd:
|
build-freebsd:
|
||||||
needs: [resolve-required-data]
|
needs: [resolve-required-data]
|
||||||
if: ${{ github.repository_owner == 'nrwl' }}
|
if: ${{ github.repository_owner == 'nrwl' }}
|
||||||
runs-on: macos-13-large
|
runs-on: ubuntu-latest
|
||||||
name: Build FreeBSD
|
name: Build FreeBSD
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
steps:
|
steps:
|
||||||
@ -302,7 +302,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
if: ${{ github.event_name != 'schedule' && !github.event.inputs.pr }}
|
if: ${{ github.event_name != 'schedule' && !github.event.inputs.pr }}
|
||||||
uses: cross-platform-actions/action@v0.22.0
|
uses: cross-platform-actions/action@v0.25.0
|
||||||
env:
|
env:
|
||||||
DEBUG: napi:*
|
DEBUG: napi:*
|
||||||
RUSTUP_IO_THREADS: 1
|
RUSTUP_IO_THREADS: 1
|
||||||
@ -310,14 +310,14 @@ jobs:
|
|||||||
PLAYWRIGHT_BROWSERS_PATH: 0
|
PLAYWRIGHT_BROWSERS_PATH: 0
|
||||||
with:
|
with:
|
||||||
operating_system: freebsd
|
operating_system: freebsd
|
||||||
version: '13.2'
|
version: '14.0'
|
||||||
architecture: x86-64
|
architecture: x86-64
|
||||||
environment_variables: DEBUG RUSTUP_IO_THREADS CI NX_PREFER_TS_NODE PLAYWRIGHT_BROWSERS_PATH
|
environment_variables: DEBUG RUSTUP_IO_THREADS CI NX_PREFER_TS_NODE PLAYWRIGHT_BROWSERS_PATH
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
env
|
env
|
||||||
whoami
|
whoami
|
||||||
sudo pkg install -y -f node libnghttp2 npm git
|
sudo pkg install -y -f node libnghttp2 www/npm git
|
||||||
sudo npm install --location=global --ignore-scripts pnpm@8.15.7
|
sudo npm install --location=global --ignore-scripts pnpm@8.15.7
|
||||||
curl https://sh.rustup.rs -sSf --output rustup.sh
|
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 stable
|
||||||
@ -333,8 +333,6 @@ jobs:
|
|||||||
whoami
|
whoami
|
||||||
env
|
env
|
||||||
freebsd-version
|
freebsd-version
|
||||||
mkdir -p /Users/runner/work/_temp/_github_workflow
|
|
||||||
echo "{}" > /Users/runner/work/_temp/_github_workflow/event.json
|
|
||||||
pnpm install --frozen-lockfile --ignore-scripts
|
pnpm install --frozen-lockfile --ignore-scripts
|
||||||
pnpm nx run-many --verbose --outputStyle stream --target=build-native -- --target=x86_64-unknown-freebsd
|
pnpm nx run-many --verbose --outputStyle stream --target=build-native -- --target=x86_64-unknown-freebsd
|
||||||
pnpm nx reset
|
pnpm nx reset
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user