Skip to content

Commit

Permalink
Simulate Nightly
Browse files Browse the repository at this point in the history
(cherry picked from commit 972dae5)
  • Loading branch information
danoli3 committed Jan 15, 2025
1 parent c48cab4 commit d4c73f2
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions scripts/ci/simulate_nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ OF_ROOT=$SCRIPT_DIR/../../
# Define environment variables
TARGET="linux64"
LIBS="64gcc6"
RELEASE="nightly" # Set default release value
RELEASE="nightly"

# Parse command line arguments
while getopts "r:" opt; do
Expand All @@ -28,24 +28,10 @@ echo "OF_ROOT: $OF_ROOT"
echo "OF_SCRIPT_DIR: $OF_SCRIPT_DIR"

if [[ "$(uname -s)" == "Linux" ]]; then
# Install libunwind
# echo "Installing libunwind..."
sudo apt-get update
sudo apt-get install -y libunwind-dev
sudo apt-get install -y npm
sudo apt-get install -y curl
sudo apt-get update
sudo apt-get install -y libunwind-dev npm curl
fi

# Cache packages
# echo "Caching packages..."
# This part would require a custom implementation or external tool as caching
# packages is specific to GitHub Actions and not easily replicated in bash.

# Checkout the repository (make sure the script is executed in a repository context)
# echo "Checking out the repository..."
# git checkout master

# Run ccache (assumes ccache is installed and configured)
echo "Running ccache..."
ccache --show-stats

Expand Down

0 comments on commit d4c73f2

Please sign in to comment.