Skip to content

Commit

Permalink
Add FreeBSD x86-64 builds to CI/CD pipeline
Browse files Browse the repository at this point in the history
Check if FreeBSD action works

Reduce qt5 package list, try building the things using default build script

Add the required qt5-buildtools package

Enable upload steps
  • Loading branch information
NikolajSchlej committed Oct 3, 2022
1 parent 799f186 commit ee6b536
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,42 @@ jobs:
- name: Build everything
run: ninja -C build-meson

build_freebsd:
name: Build on FreeBSD
runs-on: macos-12
env:
HAS_QT: 1

steps:
- uses: actions/checkout@v2

- name: Build on FreeBSD inside macOS VM
id: test
uses: vmactions/freebsd-vm@v0
with:
usesh: true
envs: "HAS_QT"
prepare: |
pkg install -y bash zip cmake qt5-qmake qt5-buildtools qt5-core qt5-gui qt5-widgets
run: |
bash unixbuild.sh
- name: Upload to artifacts
uses: actions/upload-artifact@v2
with:
name: FreeBSD builds
path: dist/*.zip

- name: Upload to releases
if: github.event_name == 'release'
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*.zip
tag: ${{ github.ref }}
file_glob: true

build_windows:
name: Build on Windows
runs-on: windows-2019
Expand Down

0 comments on commit ee6b536

Please sign in to comment.