Skip to content

Manually install tools (#35) #190

Manually install tools (#35)

Manually install tools (#35) #190

Workflow file for this run

name: box
on:
pull_request:
push:
branches:
- main
jobs:
validate:
runs-on: ubuntu-latest
name: Validate
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Packer
uses: hashicorp/setup-packer@main
- name: Initialize Packer
run: packer init .
env:
PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Validate Template
run: packer validate .
qemu:
runs-on: macos-13
name: QEMU Builder
needs: validate
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Initialize Packer
run: packer init .
env:
PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Install QEMU
run: brew install qemu
- name: Build the Box
run: packer build -only=qemu.freebsd .
env:
ntpdate_hosts: time.apple.com
virtualbox:
runs-on: macos-13
name: VirtualBox Builder
needs: validate
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Initialize Packer
run: packer init .
env:
PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Install VirtualBox
run: brew install --cask virtualbox
- name: Build the Box
run: packer build -only=virtualbox-iso.freebsd .
env:
ntpdate_hosts: time.apple.com