Skip to content

Commit

Permalink
ci: install openssl for bench workflow too
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen1 committed Jan 29, 2025
1 parent 53af273 commit 8a5d6ce
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 8 deletions.
34 changes: 27 additions & 7 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,25 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Checkout VSCode repository
uses: actions/checkout@v4
with:
repository: microsoft/vscode
path: vscode
fetch-depth: 1
- name: Install OpenSSL (Ubuntu)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y pkg-config libssl-dev
- name: Install OpenSSL (macOS)
if: runner.os == 'macOS'
run: |
brew install openssl@3
echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig" >> $GITHUB_ENV
- name: Install OpenSSL (Windows)
if: runner.os == 'Windows'
run: |
choco install openssl --params='/InstallationPath:C:\OpenSSL\'
echo "OPENSSL_DIR=C:\OpenSSL" >> $env:GITHUB_ENV
echo "PKG_CONFIG_PATH=C:\OpenSSL\lib\pkgconfig" >> $env:GITHUB_ENV
- name: Install cross (Linux)
if: matrix.use-cross
Expand All @@ -97,9 +110,16 @@ jobs:
- name: Install yek
run: cargo install --path . --all-features

- name: Checkout VSCode repository
uses: actions/checkout@v4
with:
repository: microsoft/vscode
path: vscode
fetch-depth: 1

- name: Run yek
timeout-minutes: 1
run: yek
run: cd vscode && yek

benchmark:
name: Benchmark / ${{ matrix.benchmark_group.name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-install.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# after publishing a release, run this to test the installation scripts from bodo.run are working
name: Installation Test

on:
Expand Down

0 comments on commit 8a5d6ce

Please sign in to comment.