Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI script improvements #1547

Merged
merged 4 commits into from
Nov 3, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
ci: replace deprecated action with bash commands
The llvm/actions/install-ninja action uses Node.js 12, which is
deprecated.  Since that action is not updated to work with Node.js 16,
this patch replaces that action with equivalent bash commands to install
Ninja.
  • Loading branch information
ashay committed Nov 2, 2022
commit 53f4a9c17a2e9fddc7cdffbf12c97866386042a8
16 changes: 14 additions & 2 deletions .github/actions/setup-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,20 @@ runs:
python -m pip install -r requirements.txt
shell: bash

- name: Install Ninja
uses: llvm/actions/install-ninja@55d844821959226fab4911f96f37071c1d4c3268
- name: Install Ninja (Linux)
if: ${{ runner.os == 'Linux' }}
run: sudo apt-get install -y ninja-build
shell: bash

- name: Install Ninja (macOS)
if: ${{ runner.os == 'macOS' }}
run: brew install ninja
shell: bash

- name: Install Ninja (Windows)
if: ${{ runner.os == 'Windows' }}
run: pip install ninja
shell: bash

- name: Ccache for C++ compilation
uses: hendrikmuhs/ccache-action@v1.2
Expand Down