mirror of
https://github.com/VSCodium/vscodium
synced 2024-08-27 13:01:38 +00:00
ci: build reh dependencies
This commit is contained in:
parent
1f2ecf7714
commit
5fc33c7681
24
.github/workflows/insider-linux.yml
vendored
24
.github/workflows/insider-linux.yml
vendored
|
@ -30,6 +30,7 @@ jobs:
|
|||
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
|
||||
SHOULD_BUILD: ${{ env.SHOULD_BUILD }}
|
||||
SHOULD_DEPLOY: ${{ env.SHOULD_DEPLOY }}
|
||||
VSCODE_QUALITY: ${{ env.VSCODE_QUALITY }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
@ -49,26 +50,28 @@ jobs:
|
|||
with:
|
||||
name: repositories
|
||||
path: .
|
||||
if: needs.check.outputs.SHOULD_BUILD == 'yes' || needs.check.outputs.SHOULD_DEPLOY == 'yes'
|
||||
if: env.SHOULD_BUILD == 'yes' || env.SHOULD_DEPLOY == 'yes'
|
||||
|
||||
dependencies:
|
||||
needs: check
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
env:
|
||||
VSCODE_QUALITY: ${{ needs.check.outputs.VSCODE_QUALITY }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- vscode_arch: x64
|
||||
npm_arch: x64
|
||||
image: vscodium/vscodium-linux-build-agent:centos7-devtoolset8-x64
|
||||
- vscode_arch: arm64
|
||||
npm_arch: arm64
|
||||
image: vscodium/vscodium-linux-build-agent:centos7-devtoolset8-arm64
|
||||
if: needs.check.outputs.SHOULD_BUILD == 'yes' || needs.check.outputs.SHOULD_DEPLOY == 'yes'
|
||||
|
||||
steps:
|
||||
- uses: docker/setup-qemu-action@v2
|
||||
if: matrix.vscode_arch == 'arm64'
|
||||
|
||||
- name: Setup Node.js environment
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
|
@ -82,10 +85,17 @@ jobs:
|
|||
with:
|
||||
name: repositories
|
||||
|
||||
- name: Install remote dependencies
|
||||
- name: Install remote dependencies (x64)
|
||||
env:
|
||||
npm_config_arch: ${{ matrix.npm_arch }}
|
||||
npm_config_arch: x64
|
||||
run: ./install_remote_dependencies.sh
|
||||
if: matrix.vscode_arch == 'x64'
|
||||
|
||||
- name: Install remote dependencies (arm64)
|
||||
script: |
|
||||
set -e
|
||||
docker run -e VSCODE_QUALITY -e GITHUB_TOKEN -v $(pwd):/root/vscodium vscodium/vscodium-linux-build-agent:centos7-devtoolset8-arm64 /root/vscodium/install_remote_dependencies.sh
|
||||
if: matrix.vscode_arch == 'arm64'
|
||||
|
||||
- name: Save remote dependencies
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -109,7 +119,7 @@ jobs:
|
|||
SHOULD_DEPLOY: ${{ needs.check.outputs.SHOULD_DEPLOY }}
|
||||
VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
|
||||
VSCODE_ARCH: ${{ matrix.vscode_arch }}
|
||||
VSCODE_QUALITY: insider
|
||||
VSCODE_QUALITY: ${{ needs.check.outputs.VSCODE_QUALITY }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
|
Loading…
Reference in a new issue