Updated 64-bit Windows builds of dependencies. #695
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
# Install Plaso from source on Ubuntu Docker images using GIFT PPA | |
name: test_source_plaso | |
on: [push] | |
jobs: | |
test_ubuntu: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
version: ['24.04'] | |
container: | |
image: ubuntu:${{ matrix.version }} | |
steps: | |
- name: Set up container | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
run: | | |
apt-get update -q | |
apt-get install -y libterm-readline-gnu-perl locales software-properties-common | |
locale-gen en_US.UTF-8 | |
ln -f -s /usr/share/zoneinfo/UTC /etc/localtime | |
apt-get install -y git python3 sudo | |
- name: Download Plaso source | |
run: | | |
BRANCH=`echo ${GITHUB_REF} | sed 's?^.*/??'` | |
if test ${BRANCH} = "main"; then \ | |
LATEST_TAG=`git ls-remote --tags https://github.com/log2timeline/plaso.git | sort -k2 | tail -n1 | sed 's?^.*refs/tags/??'` && git clone -b ${LATEST_TAG} https://github.com/log2timeline/plaso.git; \ | |
else \ | |
git clone https://github.com/log2timeline/plaso.git; \ | |
fi | |
- name: Install dependencies | |
run: | | |
export GIFT_PPA_TRACK=`echo ${GITHUB_REF} | sed 's?^.*/??;s?main?stable?'`; | |
plaso/config/linux/ubuntu_install_plaso.sh | |
- name: Run Plaso | |
run: | | |
cd plaso | |
PYTHONPATH=. python3 plaso/scripts/log2timeline.py --status_view linear --storage_file test.plaso test_data/image.qcow2 | |
PYTHONPATH=. python3 plaso/scripts/psort.py --status_view linear -w timeline.log test.plaso |