summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
authorTiejun Zhou <[email protected]>2023-04-11 07:36:09 +0000
committerTiejun Zhou <[email protected]>2023-04-12 09:40:17 +0000
commit5f430f22e2c00f2c079c91f48c9e2a0fc0bbbf47 (patch)
treef5d38d89810821bcf049803fd5150b823fd8c664 /scripts/install.sh
parentebeb02b95828ca100c3f24de5f9603a41049f8ff (diff)
Add Azure DevOps pipelines for ThreadX test
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-xscripts/install.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
new file mode 100755
index 00000000..5435f4fc
--- /dev/null
+++ b/scripts/install.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+#
+# Install necessary softwares for Ubuntu.
+
+apt-get update
+apt-get install -y \
+ gcc-multilib \
+ git \
+ g++ \
+ python3-pip \
+ ninja-build \
+ unifdef \
+ p7zip-full \
+ tofrodos \
+ gawk \
+ cmake \
+ software-properties-common
+
+python3 -m pip install --upgrade pip
+pip3 install artifacts-keyring
+pip3 install gcovr==4.1 $INDEX_URL
+