Skip to content

Commit

Permalink
GHA FreeBSD: Switch to latest cross-platform-action and a Linux host
Browse files Browse the repository at this point in the history
  • Loading branch information
kinke authored and ibuclaw committed May 9, 2024
1 parent dd67c80 commit 39c6f09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_release_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- os: windows-2019
target: windows
# FreeBSD is built on an additional VM
- os: macos-12
- os: ubuntu-latest
target: freebsd

steps:
Expand Down Expand Up @@ -266,11 +266,12 @@ jobs:
#
- name: Run build_all.d for FreeBSD in a dedicated VM
if: matrix.target == 'freebsd'
uses: cross-platform-actions/action@v0.22.0
uses: cross-platform-actions/action@v0.23.0
with:
operating_system: freebsd
hypervisor: qemu
memory: 8G
memory: 12G
cpu_count: 4
version: '13.2'
shell: bash
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- host: ubuntu-latest
os: linux
build: dmd.${{ github.base_ref || github.ref_name }}.linux.tar.xz
- host: macos-12
- host: ubuntu-latest
os: freebsd
build: dmd.${{ github.base_ref || github.ref_name }}.freebsd-64.tar.xz

Expand Down Expand Up @@ -68,11 +68,12 @@ jobs:

- name: Check ${{ matrix.os }} artifacts in a VM
if: ${{ matrix.os == 'freebsd' }}
uses: cross-platform-actions/action@v0.21.1
uses: cross-platform-actions/action@v0.23.0
with:
operating_system: freebsd
hypervisor: qemu
memory: 8G
memory: 12G
cpu_count: 4
version: '12.2'
environment_variables: OS BUILD
shell: bash
Expand Down

0 comments on commit 39c6f09

Please sign in to comment.