-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding build with the runtime to CI build matrix (#153)
Adding build with the runtime to CI build matrix - build on macos-latest without runtime - build on ubuntu-latest with runtime - added build dependency installation for Ubuntu (clang++-17) - disabled linting for build with runtime until all errors are resolved Closes: #141
- Loading branch information
1 parent
32f4863
commit a7d4923
Showing
4 changed files
with
67 additions
and
9 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "Install build dependencies" | ||
description: "Installs build dependencies on GitHub Actions runners" | ||
|
||
inputs: | ||
os: | ||
description: 'Runner OS' | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Retrieve and install pkg deps based on OS | ||
if: startsWith(inputs.os, 'ubuntu') | ||
id: retrieve-pkg-deps | ||
shell: bash | ||
run: | | ||
DEPENDENCIES=$(jq -r --arg os "${{ inputs.os }}" '.[$os] | .[]' $GITHUB_ACTION_PATH/dependencies.json) | ||
echo $DEPENDENCIES | ||
sudo apt update | ||
sudo apt install -y $DEPENDENCIES | ||
- name: Install Clang-17 | ||
if: startsWith(inputs.os, 'ubuntu') | ||
shell: bash | ||
run: | | ||
wget https://apt.llvm.org/llvm.sh | ||
chmod u+x llvm.sh | ||
sudo ./llvm.sh 17 | ||
sudo apt install -y libc++-17-dev libc++abi-17-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"ubuntu-20.04": [ | ||
"libnuma-dev", | ||
"libyaml-cpp-dev", | ||
"libhwloc-dev", | ||
"libgtest-dev", | ||
"libboost-dev" | ||
], | ||
"ubuntu-22.04": [ | ||
"libnuma-dev", | ||
"libyaml-cpp-dev", | ||
"libhwloc-dev", | ||
"libgtest-dev", | ||
"libboost-dev" | ||
], | ||
"ubuntu-latest": [ | ||
"libnuma-dev", | ||
"libyaml-cpp-dev", | ||
"libhwloc-dev", | ||
"libgtest-dev", | ||
"libboost-dev" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters