Skip to content

build(deps): update jinja2 requirement from ~=3.1.3 to ~=3.1.4 #18

build(deps): update jinja2 requirement from ~=3.1.3 to ~=3.1.4

build(deps): update jinja2 requirement from ~=3.1.3 to ~=3.1.4 #18

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
branches:
- 'master'
# Commit SHAs may differ when trigger via pull request vs workflow_dispatch, ensure the correct commit is referenced.
env:
commit_id: "${{ github.event.pull_request.head.sha || github.sha }}"
build_version: "0.0_0dev_${{ github.event.pull_request.head.sha || github.sha }}"
jobs:
build:
runs-on: self-hosted
strategy:
matrix:
freebsd_version:
- FreeBSD-14.0-CURRENT
steps:
- uses: actions/checkout@v3
- name: Setup FreeBSD build VM
run: |
/usr/local/bin/VBoxManage controlvm ${{ matrix.freebsd_version }} poweroff || true
/usr/local/bin/VBoxManage snapshot ${{ matrix.freebsd_version }} restore initial
/usr/local/bin/VBoxManage startvm ${{ matrix.freebsd_version }} --type headless
sleep 5
- name: Build pfSense-pkg-saml2-auth on FreeBSD
run: |
/usr/bin/ssh -o StrictHostKeyChecking=no ${{ matrix.freebsd_version }}.jaredhendrickson.com 'sudo pkill ntpd || true && sudo ntpdate pool.ntp.org || true'
/usr/local/bin/python3 tools/make_package.py --host ${{ matrix.freebsd_version }}.jaredhendrickson.com --branch ${{ env.commit_id }} --tag ${{ env.build_version }}_${{ matrix.freebsd_version }}
- name: Teardown FreeBSD build VM
if: "${{ always() }}"
run: |
/usr/local/bin/VBoxManage controlvm ${{ matrix.freebsd_version }} poweroff || true
/usr/local/bin/VBoxManage snapshot ${{matrix.freebsd_version}} restore initial
- uses: actions/upload-artifact@v3
with:
name: pfSense-pkg-saml2-auth-${{ env.build_version }}_${{ matrix.freebsd_version }}.pkg
path: pfSense-pkg-saml2-auth-${{ env.build_version }}_${{ matrix.freebsd_version }}.pkg