Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

build rome using older glibc #3650

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft
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
18 changes: 11 additions & 7 deletions .github/workflows/release_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
- os: ubuntu-20.04
target: x86_64-unknown-linux-gnu
code-target: linux-x64
container: ghcr.io/rome/rome-ci-x86-64-centos7:latest
- os: ubuntu-20.04
target: aarch64-unknown-linux-gnu
code-target: linux-arm64
Expand All @@ -71,6 +72,10 @@ jobs:

name: Package ${{ matrix.code-target }}
runs-on: ${{ matrix.os }}
container:
image: ${{ matrix.container }}
env:
PATH: /root/.cargo/bin:/root/.nvm/versions/node/v14.21.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin

needs: check
if: needs.check.outputs.version_changed == 'true' || needs.check.outputs.nightly == 'true'
Expand All @@ -81,19 +86,17 @@ jobs:
prerelease: ${{ needs.check.outputs.prerelease }}

steps:
- name: Who Am I
run: whoami && printenv

- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x

- name: Install Rust toolchain
run: rustup target add ${{ matrix.target }}

- name: Install arm64 toolchain
if: matrix.code-target == 'linux-arm64'
run: |
Expand All @@ -102,7 +105,8 @@ jobs:

- name: Audit crates.io dependencies
if: matrix.code-target == 'linux-x64'
run: cargo audit
run: |
cargo audit

# Build the CLI binary
- name: Build binaries
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release_lsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ jobs:
- os: ubuntu-20.04
target: x86_64-unknown-linux-gnu
code-target: linux-x64
container: ghcr.io/rome/rome-ci-x86-64-centos7:latest
- os: ubuntu-20.04
target: aarch64-unknown-linux-gnu
code-target: linux-arm64
Expand All @@ -92,6 +93,9 @@ jobs:

name: Package ${{ matrix.code-target }}
runs-on: ${{ matrix.os }}
container:
image: ${{ matrix.container }}
options: --user root

needs: check
env:
Expand All @@ -104,6 +108,9 @@ jobs:
prerelease: ${{ env.prerelease }}

steps:
- name: Who Am I
run: whoami

- name: Checkout repository
uses: actions/checkout@v3
with:
Expand Down