Skip to content

Commit

Permalink
CI: update action for *BSD
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTumultuousUnicornOfDarkness committed Aug 2, 2024
1 parent 6a189f5 commit f7c8cac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_dragonflybsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v4

- name: Provision VM
uses: hummeltech/freebsd-vagrant-action@v1.4
uses: hummeltech/freebsd-vagrant-action@v2 # Note: DragonFly BSD was forked from FreeBSD 4.8, and the provision_commands for freebsd-vagrant-action should run fine on DragonFly BSD
with:
box: ${{ matrix.box }}
save_box_to_cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v4

- name: Provision VM
uses: hummeltech/freebsd-vagrant-action@v1.4
uses: hummeltech/freebsd-vagrant-action@v2
with:
box: ${{ matrix.box }}
save_box_to_cache: true
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/build_openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,10 @@ jobs:
uses: actions/checkout@v4

- name: Provision VM
uses: hummeltech/freebsd-vagrant-action@v1.4
uses: hummeltech/openbsd-vagrant-action@v2
with:
box: ${{ matrix.box }}
save_box_to_cache: true
provision-commands: >-
pkg_add -I install bash rsync-3.2.7p1;
echo 'AcceptEnv *' >> /etc/ssh/sshd_config;
rcctl restart sshd;
mkdir -p ${{ github.workspace }};
chown vagrant:vagrant ${{ github.workspace }};
mkdir -p ${{ runner.temp }};
chown vagrant:vagrant ${{ runner.temp }};

- name: Install packages
run: sudo pkg_add -I cmake python3
Expand Down

0 comments on commit f7c8cac

Please sign in to comment.