remove macOS build dep
This commit is contained in:
parent
21b15eb7b4
commit
b07dd9b7c2
4 changed files with 47 additions and 79 deletions
51
.github/workflows/main-build.yaml
vendored
51
.github/workflows/main-build.yaml
vendored
|
|
@ -1,51 +0,0 @@
|
|||
name: Build Extension on Main
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
platform: linux
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
- os: macos-latest
|
||||
platform: darwin
|
||||
arch: arm64
|
||||
npm_config_arch: arm64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
|
||||
- uses: ./.github/actions/build-vscode-extension
|
||||
with:
|
||||
platform: ${{ matrix.platform }}
|
||||
arch: ${{ matrix.arch }}
|
||||
npm_config_arch: ${{ matrix.npm_config_arch }}
|
||||
pre-release: false
|
||||
commit-sha: ${{ github.sha }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: vscode-extension-build-${{ runner.os }}
|
||||
path: extensions/vscode/build
|
||||
|
||||
- name: Upload .vsix artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.platform }}-${{ matrix.arch }}-vsix
|
||||
path: "extensions/vscode/*.vsix"
|
||||
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
|
|
@ -57,11 +57,11 @@ jobs:
|
|||
platform: alpine
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
- os: macos-13
|
||||
- os: macos-latest
|
||||
platform: darwin
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
- os: macos-13
|
||||
- os: macos-latest
|
||||
platform: darwin
|
||||
arch: arm64
|
||||
npm_config_arch: arm64
|
||||
|
|
|
|||
67
.github/workflows/pr_checks.yaml
vendored
67
.github/workflows/pr_checks.yaml
vendored
|
|
@ -11,7 +11,6 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
|
||||
prettier-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -63,7 +62,6 @@ jobs:
|
|||
# Tests are currently failing, commenting out for now
|
||||
# npm test
|
||||
|
||||
|
||||
core-checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -85,7 +83,6 @@ jobs:
|
|||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
|
||||
|
||||
gui-checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -131,7 +128,6 @@ jobs:
|
|||
cd binary
|
||||
npx tsc --noEmit
|
||||
|
||||
|
||||
vscode-checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
|
@ -299,19 +295,8 @@ jobs:
|
|||
run: |
|
||||
echo "Test files: ${{ steps.vscode-get-test-file-matrix.outputs.test_file_matrix }}"
|
||||
|
||||
vscode-package-extension:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
platform: linux
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
- os: macos-13
|
||||
platform: darwin
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
vscode-package-extension-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
@ -323,9 +308,9 @@ jobs:
|
|||
|
||||
- uses: ./.github/actions/build-vscode-extension
|
||||
with:
|
||||
platform: ${{ matrix.platform }}
|
||||
arch: ${{ matrix.arch }}
|
||||
npm_config_arch: ${{ matrix.npm_config_arch }}
|
||||
platform: linux
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
pre-release: false
|
||||
commit-sha: ${{ github.sha }}
|
||||
env:
|
||||
|
|
@ -334,13 +319,46 @@ jobs:
|
|||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: vscode-extension-build-${{ runner.os }}
|
||||
name: vscode-extension-build-Linux
|
||||
path: extensions/vscode/build
|
||||
|
||||
- name: Upload .vsix artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.platform }}-${{ matrix.arch }}-vsix
|
||||
name: linux-x64-vsix
|
||||
path: "extensions/vscode/*.vsix"
|
||||
|
||||
vscode-package-extension-macos:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version-file: ".nvmrc"
|
||||
|
||||
- uses: ./.github/actions/build-vscode-extension
|
||||
with:
|
||||
platform: darwin
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
pre-release: false
|
||||
commit-sha: ${{ github.sha }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: vscode-extension-build-macOS
|
||||
path: extensions/vscode/build
|
||||
|
||||
- name: Upload .vsix artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: darwin-x64-vsix
|
||||
path: "extensions/vscode/*.vsix"
|
||||
|
||||
vscode-download-e2e-dependencies:
|
||||
|
|
@ -386,7 +404,7 @@ jobs:
|
|||
[
|
||||
vscode-download-e2e-dependencies,
|
||||
vscode-get-test-file-matrix,
|
||||
vscode-package-extension,
|
||||
vscode-package-extension-linux,
|
||||
]
|
||||
runs-on: ubuntu-latest
|
||||
# Tests requiring secrets need approval from maintainers
|
||||
|
|
@ -669,7 +687,8 @@ jobs:
|
|||
- core-tests
|
||||
- test-packages
|
||||
- vscode-get-test-file-matrix
|
||||
- vscode-package-extension
|
||||
- vscode-package-extension-linux
|
||||
- vscode-package-extension-macos
|
||||
- vscode-download-e2e-dependencies
|
||||
- vscode-e2e-tests
|
||||
- gui-tests
|
||||
|
|
|
|||
4
.github/workflows/preview.yaml
vendored
4
.github/workflows/preview.yaml
vendored
|
|
@ -57,11 +57,11 @@ jobs:
|
|||
platform: alpine
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
- os: macos-13
|
||||
- os: macos-latest
|
||||
platform: darwin
|
||||
arch: x64
|
||||
npm_config_arch: x64
|
||||
- os: macos-13
|
||||
- os: macos-latest
|
||||
platform: darwin
|
||||
arch: arm64
|
||||
npm_config_arch: arm64
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue