mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 16:08:23 +08:00
Add FreeBSD x86-64 builds to CI/CD pipeline
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
This commit is contained in:
parent
799f186852
commit
ee6b536009
36
.github/workflows/main.yml
vendored
36
.github/workflows/main.yml
vendored
@ -87,6 +87,42 @@ jobs:
|
|||||||
- name: Build everything
|
- name: Build everything
|
||||||
run: ninja -C build-meson
|
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:
|
build_windows:
|
||||||
name: Build on Windows
|
name: Build on Windows
|
||||||
runs-on: windows-2019
|
runs-on: windows-2019
|
||||||
|
Loading…
Reference in New Issue
Block a user