Skip to content

Commit

Permalink
CI: Migrate from vmactions/freebsd-vm action to cross-platform-action…
Browse files Browse the repository at this point in the history
…s/action

As used by DMD & Phobos CI.
  • Loading branch information
kinke committed Dec 5, 2023
1 parent d761b19 commit a84b3d3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build_release_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,15 +266,18 @@ jobs:
#
- name: Run build_all.d for FreeBSD in a dedicated VM
if: matrix.target == 'freebsd'
uses: vmactions/freebsd-vm@v0.2.9
uses: cross-platform-actions/action@v0.21.1
with:
usesh: true
# Need more RAM than the default 1G
mem: 4096
prepare: pkg install -y bash curl curlpp git gmake pkgconf gnupg rsync llvm90
operating_system: freebsd
hypervisor: qemu
memory: 8G
version: '12.2'
shell: bash
run: |
set -eux
sudo pkg install -y curl curlpp git gmake pkgconf gnupg rsync llvm90
# Import key used to sign binaries
curl https://dlang.org/d-keyring.gpg -o d-keyring.gpg
gpg d-keyring.gpg
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ jobs:

- name: Check ${{ matrix.os }} artifacts in a VM
if: ${{ matrix.os == 'freebsd' }}
uses: cross-platform-actions/action@v0.6.2
uses: cross-platform-actions/action@v0.21.1
with:
operating_system: freebsd
version: 12.2
hypervisor: qemu
memory: 8G
version: '12.2'
environment_variables: OS BUILD
shell: bash
run: source ./installer/test/release/validate_release.sh
Expand Down

0 comments on commit a84b3d3

Please sign in to comment.