Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert more CI changes to centos job #9472

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- run: yarn test:unit
- name: Upload @parcel/rust Linux Binaries artifact
if: ${{matrix.os == 'ubuntu-latest' && matrix.node == 20}}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: Rust Linux Binaries
path: |
Expand Down Expand Up @@ -136,15 +136,15 @@ jobs:
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p;
- run: yarn --frozen-lockfile
- name: Download @parcel/rust Linux Binaries artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: Rust Linux Binaries
path: packages/core/rust
- run: yarn build
- run: yarn build-native-wasm
- run: yarn workspace @parcel/repl build
# - name: Upload REPL
# uses: actions/upload-artifact@v4
# uses: actions/upload-artifact@v3
# with:
# name: REPL
# path: 'packages/dev/repl/dist'
Expand Down
28 changes: 15 additions & 13 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-release
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
if: ${{ matrix.os == 'macos-latest' }}
run: strip -x packages/*/*/*.node # Must use -x on macOS. This produces larger results on linux.
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.os }}
path: packages/*/*/*.node
Expand All @@ -43,16 +43,18 @@ jobs:
- name: Install yarn
run: npm install --global yarn@1
- name: Install Rust
uses: dtolnay/rust-toolchain@master
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: bahmutov/[email protected]
profile: minimal
override: true
- uses: bahmutov/[email protected]
- name: Build native packages
run: yarn build-native-release
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-linux-gnu-x64
path: packages/*/*/*.node
Expand Down Expand Up @@ -87,7 +89,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu -y
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-release
env:
Expand All @@ -96,7 +98,7 @@ jobs:
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.target }}
path: packages/*/*/*.node
Expand Down Expand Up @@ -140,7 +142,7 @@ jobs:
with:
toolchain: stable
target: ${{ matrix.target }}
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-release
env:
Expand All @@ -149,7 +151,7 @@ jobs:
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-linux-musl-${{ matrix.arch }}
path: packages/*/*/*.node
Expand All @@ -169,7 +171,7 @@ jobs:
with:
toolchain: stable
target: aarch64-apple-darwin
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: |
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
Expand All @@ -180,7 +182,7 @@ jobs:
- name: Strip debug symbols
run: strip -x packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-apple-aarch64
path: packages/*/*/*.node
Expand All @@ -199,11 +201,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-release
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Move artifacts
Expand Down
28 changes: 15 additions & 13 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-release
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
if: ${{ matrix.os == 'macos-latest' }}
run: strip -x packages/*/*/*.node # Must use -x on macOS. This produces larger results on linux.
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.os }}
path: packages/*/*/*.node
Expand All @@ -43,16 +43,18 @@ jobs:
- name: Install yarn
run: npm install --global yarn@1
- name: Install Rust
uses: dtolnay/rust-toolchain@master
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: bahmutov/[email protected]
profile: minimal
override: true
- uses: bahmutov/[email protected]
- name: Build native packages
run: yarn build-native-release
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-linux-gnu-x64
path: packages/*/*/*.node
Expand Down Expand Up @@ -87,7 +89,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu -y
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-release
env:
Expand All @@ -96,7 +98,7 @@ jobs:
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.target }}
path: packages/*/*/*.node
Expand Down Expand Up @@ -140,7 +142,7 @@ jobs:
with:
toolchain: stable
target: ${{ matrix.target }}
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-release
env:
Expand All @@ -149,7 +151,7 @@ jobs:
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: ${{ matrix.strip }} packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-linux-musl-${{ matrix.arch }}
path: packages/*/*/*.node
Expand All @@ -169,7 +171,7 @@ jobs:
with:
toolchain: stable
target: aarch64-apple-darwin
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: |
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
Expand All @@ -180,7 +182,7 @@ jobs:
- name: Strip debug symbols
run: strip -x packages/*/*/*.node
- name: Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: bindings-apple-aarch64
path: packages/*/*/*.node
Expand All @@ -199,11 +201,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: bahmutov/npm-install@v1.1.0
- uses: bahmutov/npm-install@v1.8.35
- name: Build native packages
run: yarn build-native-release
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Move artifacts
Expand Down
Loading