Build wine-patched 7.21 for FreeBSD 13.2 #129
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Wine for FreeBSD | |
on: | |
workflow_dispatch: | |
inputs: | |
winetype: | |
description: "The type of Wine to build" | |
required: true | |
default: "staging" | |
type: choice | |
options: | |
- staging | |
- proton | |
- devel | |
- patched | |
wineversion: | |
description: "The version of Wine to build" | |
required: true | |
default: "7.4" | |
type: string | |
run-name: Build wine-${{ inputs.winetype }} ${{ inputs.wineversion }} for FreeBSD 13.2 | |
jobs: | |
freebsd64: | |
runs-on: macos-12 | |
timeout-minutes: 80 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Wine for FreeBSD 64-bit | |
uses: cross-platform-actions/action@v0.21.1 | |
with: | |
shell: sh | |
operating_system: freebsd | |
architecture: x86-64 | |
version: '13.2' | |
run: | | |
sudo sed -i '' -e 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf | |
sudo pkg install -y git nim | |
sudo git clone https://github.com/freebsd/freebsd-ports.git /usr/ports | |
sudo /usr/local/nim/bin/nim --hints:off build.nims ${{ inputs.wineversion }} ${{ inputs.winetype }} | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: '13.2-amd64' | |
tag_name: '13.2-amd64' | |
files: '*.pkg' | |
freebsd32: | |
continue-on-error: true | |
needs: freebsd64 | |
runs-on: macos-12 | |
timeout-minutes: 80 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Wine for FreeBSD 32-bit | |
uses: cross-platform-actions/action@v0.21.1 | |
with: | |
shell: sh | |
operating_system: freebsd | |
architecture: x86-64 | |
version: '13.2' | |
run: | | |
sudo sh ./32bit.sh ${{ inputs.wineversion }} ${{ inputs.winetype }} | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: '13.2-i386' | |
tag_name: '13.2-i386' | |
files: '*.pkg' |