Files
BastilleBSD_bastille/.github/workflows/test.yml
Barry McCormick 61a78a0f9a Update test.yml
2025-05-25 17:39:08 -07:00

39 lines
922 B
YAML

name: Bastille_Testing
on:
pull_request_review:
types: [submitted, edited]
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 curl
run: |
pkg install git
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
git checkout $branch
make install