Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit c6dbefa
Author: ryderwishart <[email protected]>
Date:   Wed May 22 02:05:44 2024 -0700

    Update GitHub workflows for stable builds

commit 268ecff
Author: ryderwishart <[email protected]>
Date:   Tue May 21 16:26:40 2024 -0700

    Rebrand to Codex; modify build scripts and automated workflows

    # Conflicts:
    #	patches/brand.patch

commit 02a9d03
Author: VSCodium CI <[email protected]>
Date:   Thu May 9 18:12:33 2024 +0000

    build(stable): update to commit dc96b83

commit f93746b
Author: Yevhen Popok <[email protected]>
Date:   Mon May 6 17:08:01 2024 +0300

    fix(linux): deprecate unity-launch flag (VSCodium#1866)

commit 0d28b4d
Author: Baptiste Augrain <[email protected]>
Date:   Sun May 5 10:55:17 2024 +0200

    feat(1.89): update patches (VSCodium#1863)

commit 39df447
Author: Lex <[email protected]>
Date:   Fri Apr 26 01:59:33 2024 -0500

    feat: use sysroot for PPC64LE (VSCodium#1857)
  • Loading branch information
ryderwishart committed May 22, 2024
1 parent 35f0b5b commit c88e22e
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 46 deletions.
94 changes: 48 additions & 46 deletions .github/workflows/stable-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,24 @@ on:
repository_dispatch:
types: [stable]
push:
branches: [ release ]
branches: [release]
paths-ignore:
- '**/*.md'
- "**/*.md"
pull_request:
branches: [ release ]
branches: [release]
paths-ignore:
- '**/*.md'
- "**/*.md"

env:
APP_NAME: Codex
ASSETS_REPOSITORY: ${{ github.repository }}
BINARY_NAME: codium
DISABLE_UPDATE: 'yes'
DISABLE_UPDATE: "yes"
OS_NAME: linux
VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
VSCODE_QUALITY: stable
SHOULD_DEPLOY: "yes"
SHOULD_BUILD: "yes"

jobs:
check:
Expand Down Expand Up @@ -60,7 +62,7 @@ jobs:
- name: Check existing Codex tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHECK_ALL: 'yes'
CHECK_ALL: "yes"
run: ./check_tags.sh

compile:
Expand All @@ -72,7 +74,7 @@ jobs:
MS_TAG: ${{ needs.check.outputs.MS_TAG }}
RELEASE_VERSION: ${{ needs.check.outputs.RELEASE_VERSION }}
SHOULD_BUILD: ${{ (needs.check.outputs.SHOULD_BUILD == 'yes' || github.event.inputs.generate_assets == 'true') && 'yes' || 'no' }}
VSCODE_ARCH: 'x64'
VSCODE_ARCH: "x64"
outputs:
BUILD_SOURCEVERSION: ${{ env.BUILD_SOURCEVERSION }}

Expand All @@ -85,7 +87,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '18.17'
node-version: "18.17"
if: env.SHOULD_BUILD == 'yes'

- name: Install Yarn
Expand All @@ -95,7 +97,7 @@ jobs:
- name: Setup Python 3
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"
if: env.SHOULD_BUILD == 'yes'

- name: Install libkrb5-dev
Expand All @@ -110,7 +112,7 @@ jobs:

- name: Build
env:
SHOULD_BUILD_REH: 'no'
SHOULD_BUILD_REH: "no"
run: ./build.sh
if: env.SHOULD_BUILD == 'yes'

Expand Down Expand Up @@ -139,15 +141,15 @@ jobs:
fail-fast: false
matrix:
include:
- vscode_arch: x64
npm_arch: x64
image: vscodium/vscodium-linux-build-agent:bionic-x64
- vscode_arch: arm64
npm_arch: arm64
image: vscodium/vscodium-linux-build-agent:bionic-arm64
- vscode_arch: armhf
npm_arch: arm
image: vscodium/vscodium-linux-build-agent:bionic-armhf
- vscode_arch: x64
npm_arch: x64
image: vscodium/vscodium-linux-build-agent:bionic-x64
- vscode_arch: arm64
npm_arch: arm64
image: vscodium/vscodium-linux-build-agent:bionic-arm64
- vscode_arch: armhf
npm_arch: arm
image: vscodium/vscodium-linux-build-agent:bionic-armhf
container:
image: ${{ matrix.image }}
env:
Expand Down Expand Up @@ -176,7 +178,7 @@ jobs:
- name: Check existing Codex tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHECK_REH: 'no'
CHECK_REH: "no"
run: ./check_tags.sh
if: env.SHOULD_BUILD == 'yes'

Expand All @@ -199,7 +201,7 @@ jobs:

- name: Prepare assets
env:
SHOULD_BUILD_REH: 'no'
SHOULD_BUILD_REH: "no"
run: ./prepare_assets.sh
if: env.SHOULD_BUILD == 'yes' && (env.SHOULD_DEPLOY == 'yes' || github.event.inputs.generate_assets == 'true')

Expand Down Expand Up @@ -235,16 +237,16 @@ jobs:
fail-fast: false
matrix:
include:
- vscode_arch: x64
npm_arch: x64
- vscode_arch: arm64
npm_arch: arm64
- vscode_arch: armhf
npm_arch: arm
- vscode_arch: ppc64le
npm_arch: ppc64
- vscode_arch: riscv64
npm_arch: riscv64
- vscode_arch: x64
npm_arch: x64
- vscode_arch: arm64
npm_arch: arm64
- vscode_arch: armhf
npm_arch: arm
- vscode_arch: ppc64le
npm_arch: ppc64
- vscode_arch: riscv64
npm_arch: riscv64
env:
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
Expand All @@ -263,12 +265,12 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '18.17'
node-version: "18.17"

- name: Setup Python 3
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"

- name: Install libkrb5-dev
run: sudo apt-get install -y libkrb5-dev
Expand All @@ -280,7 +282,7 @@ jobs:
- name: Check existing Codex tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHECK_ONLY_REH: 'yes'
CHECK_ONLY_REH: "yes"
run: ./check_tags.sh

- name: Download vscode artifact
Expand Down Expand Up @@ -320,10 +322,10 @@ jobs:
fail-fast: false
matrix:
include:
- vscode_arch: x64
npm_arch: x64
- vscode_arch: arm64
npm_arch: arm64
- vscode_arch: x64
npm_arch: x64
- vscode_arch: arm64
npm_arch: arm64
env:
BUILD_SOURCEVERSION: ${{ needs.compile.outputs.BUILD_SOURCEVERSION }}
MS_COMMIT: ${{ needs.check.outputs.MS_COMMIT }}
Expand All @@ -346,7 +348,7 @@ jobs:
- name: Check existing Codex tags/releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHECK_ONLY_REH: 'yes'
CHECK_ONLY_REH: "yes"
run: ./check_tags.sh

- name: Install libkrb5-dev
Expand Down Expand Up @@ -390,10 +392,10 @@ jobs:
fail-fast: false
matrix:
include:
- package_name: vscodium
package_type: stable
- package_name: vscodium-git
package_type: rolling
- package_name: vscodium
package_type: stable
- package_name: vscodium-git
package_type: rolling
if: needs.check.outputs.SHOULD_DEPLOY == 'yes'

steps:
Expand All @@ -418,8 +420,8 @@ jobs:
fail-fast: false
matrix:
platform:
- amd64
- arm64
- amd64
- arm64
if: needs.check.outputs.SHOULD_DEPLOY == 'yes'

steps:
Expand All @@ -445,7 +447,7 @@ jobs:
- uses: diddlesnaps/snapcraft-review-action@v1
with:
snap: ${{ steps.build.outputs.snap }}
isClassic: 'true'
isClassic: "true"
if: env.SHOULD_DEPLOY_TO_RELEASE == 'yes' || env.SHOULD_DEPLOY_TO_STORE == 'yes'

- uses: svenstaro/upload-release-action@v2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/stable-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ env:
OS_NAME: osx
VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
VSCODE_QUALITY: stable
SHOULD_DEPLOY: "yes"
SHOULD_BUILD: "yes"

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/stable-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ env:
OS_NAME: windows
VERSIONS_REPOSITORY: ${{ github.repository_owner }}/versions
VSCODE_QUALITY: stable
SHOULD_DEPLOY: "yes"
SHOULD_BUILD: "yes"

jobs:
build:
Expand Down

0 comments on commit c88e22e

Please sign in to comment.