1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00

CI: update action for *BSD

This commit is contained in:
The Tumultuous Unicorn Of Darkness 2024-08-02 16:52:43 +02:00
parent 6a189f5245
commit f7c8cac3e2
No known key found for this signature in database
GPG key ID: 1E55EE2EFF18BC1A
3 changed files with 3 additions and 11 deletions

View file

@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Provision VM - 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: with:
box: ${{ matrix.box }} box: ${{ matrix.box }}
save_box_to_cache: true save_box_to_cache: true

View file

@ -22,7 +22,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Provision VM - name: Provision VM
uses: hummeltech/freebsd-vagrant-action@v1.4 uses: hummeltech/freebsd-vagrant-action@v2
with: with:
box: ${{ matrix.box }} box: ${{ matrix.box }}
save_box_to_cache: true save_box_to_cache: true

View file

@ -21,18 +21,10 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Provision VM - name: Provision VM
uses: hummeltech/freebsd-vagrant-action@v1.4 uses: hummeltech/openbsd-vagrant-action@v2
with: with:
box: ${{ matrix.box }} box: ${{ matrix.box }}
save_box_to_cache: true 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 - name: Install packages
run: sudo pkg_add -I cmake python3 run: sudo pkg_add -I cmake python3