Added hash update and new file insert on second scans #237
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
name: Install test | |
on: [push] | |
jobs: | |
Build-install-windows: | |
runs-on: windows-2022 | |
steps: | |
- name: Check out repository code, branch='${{ github.ref }}' | |
uses: actions/checkout@v2 | |
- name: Building package | |
run: ./builder.ps1 | |
working-directory: ./pkg/msi | |
- name: Installing package | |
run: ./fim*.msi /q /l*v msi.log | |
working-directory: ./pkg/msi | |
- name: Print install log | |
run: cat msi.log | |
working-directory: ./pkg/msi | |
- name: Start FIM service | |
run: NET START FimService | |
- name: Check FIM is running | |
run: NET START | findstr "File Integrity" | |
Build-install-ubuntu: | |
runs-on: [self-hosted, ubuntu18] | |
steps: | |
- name: Check out repository code, branch='${{ github.ref }}' | |
uses: actions/checkout@v2 | |
- name: Building package | |
run: sudo ./builder.sh | |
working-directory: ./pkg/deb | |
- name: Installing package | |
run: sudo dpkg --install ./fim*.deb | |
working-directory: ./pkg/deb | |
- name: Start FIM service | |
run: sudo systemctl start fim | |
- name: Check FIM running | |
run: sudo systemctl status fim | |
- name: Remove package installation | |
if: always() | |
run: sudo dpkg --purge fim | |
Build-install-centos: | |
runs-on: [self-hosted, centos7] | |
steps: | |
- name: Check out repository code, branch='${{ github.ref }}' | |
uses: actions/checkout@v2 | |
- name: Building package | |
run: sudo ./builder.sh | |
working-directory: ./pkg/rpm | |
- name: Installing package | |
run: sudo yum install -y ./fim*.rpm | |
working-directory: ./pkg/rpm | |
- name: Start FIM service | |
run: sudo systemctl start fim | |
- name: Check FIM running | |
run: sudo systemctl status fim | |
- name: Remove package installation | |
if: always() | |
run: sudo yum remove -y fim | |
Build-install-macos: | |
runs-on: macos-12 | |
steps: | |
- name: Check out repository code, branch='${{ github.ref }}' | |
uses: actions/checkout@v2 | |
- name: Building package | |
run: sudo ./builder.sh | |
working-directory: ./pkg/macos | |
- name: Installing package | |
run: sudo installer -pkg fim*.pkg -target / | |
working-directory: ./pkg/macos | |
- name: Start FIM service | |
run: sudo launchctl load -w /Library/LaunchDaemons/com.Achiefs.fim.launchd.plist | |
- name: Check FIM running | |
run: sudo launchctl print system/com.Achiefs.fim | grep "state = running" |