Files
BastilleBSD_bastille/.github/workflows/test.yml
Barry McCormick 90b801e19b Update test.yml
2025-05-25 18:18:23 -07:00

39 lines
901 B
YAML

name: Bastille_Testing
on:
pull_request:
branches:
- master
jobs:
test:
if: ${{ github.event.pull_request.base.ref == 'master' }}
runs-on: ubuntu-latest
name: BastilleBSD testing
env:
MYTOKEN : ${{ secrets.MYTOKEN }}
MYTOKEN2: "value2"
steps:
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
envs: 'MYTOKEN MYTOKEN2'
usesh: true
prepare: |
pkg install -y git
run: |
git clone https://github.com/BastilleBSD/rocinante.git
cd rocinante && make install
rocinante bootstrap https://github.com/BastilleBSD/rocinante.git
cd ..
git clone https://github.com/BastilleBSD/bastille.git
cd bastille
make install
rocinante template tests/masterTest