-
-
Notifications
You must be signed in to change notification settings - Fork 0
70 lines (66 loc) · 1.87 KB
/
freebsd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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'