Debian Codegraph @

.github/workflows/continuous-build-freebsd.yml

raw symbols SCIP
1 name: "Continuous build (FreeBSD)"
2
3 on:
4 push:
5 branches:
6 - '*'
7 tags-ignore:
8 - 'continuous*'
9
10 jobs:
11 build:
12 strategy:
13 matrix:
14 include:
15 - os: ubuntu-latest
16 arch: x86_64
17 dependencies: argp-standalone automake bash cmake desktop-file-utils gcc git gmake gpgme libtool meson nasm perl5 pkgconf python squashfs-tools sudo wget wine yasm zip zsync
18
19 - os: ubuntu-latest
20 arch: aarch64
21 dependencies: argp-standalone automake bash cmake desktop-file-utils gcc git gmake gpgme libtool meson nasm perl5 pkgconf python squashfs-tools sudo wget yasm zip zsync
22
23 fail-fast: false
24
25 runs-on: ${{ matrix.os }}
26
27 env:
28 AppImageArch: ${{ matrix.arch }}
29 RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
30
31 steps:
32 - name: Checkout repository
33 uses: actions/checkout@v6
34 with:
35 submodules: recursive
36
37 - name: Free up space
38 run: |
39 rm -fr boca/system-*
40
41 - name: Start VM
42 id: vm
43 uses: vmactions/freebsd-vm@v1
44 with:
45 release: "13.5"
46 arch: ${{ matrix.arch }}
47 envs: 'AppImageArch RELEASE_TOKEN'
48 sync: sshfs
49
50 - name: Install dependencies
51 shell: freebsd {0}
52 run: |
53 pkg update
54 pkg install -y ${{ matrix.dependencies }}
55 pkg install -y gnome-icon-theme gtk3
56
57 - name: Build AppImage
58 shell: freebsd {0}
59 run: |
60 pw user add -n vmuser -m -g wheel
61 echo "vmuser ALL=(ALL) NOPASSWD: ALL" >> /usr/local/etc/sudoers
62 cp -R $GITHUB_WORKSPACE .
63 chown -R vmuser freac
64 cd freac
65 su vmuser -c .github/workflows/tools/build-appimage