freebsd14.0 #184
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" | |
on: | |
push: | |
branches: | |
- '*' | |
paths: | |
- '*.sh' | |
- '.github/workflows/build.yml' | |
- '*.txt' | |
- 'conf/*' | |
- 'hooks/*' | |
pull_request: | |
branches: | |
- '*' | |
paths: | |
- '*.sh' | |
- '.github/workflows/build.yml' | |
- '*.txt' | |
- 'conf/*' | |
- 'hooks/*' | |
workflow_dispatch: | |
release: | |
types: [ created ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: ["13.3", "13.4", "14.0", "14.1", "14.2-pre", "15.0"] | |
runs-on: ubuntu-24.04 | |
env: | |
SEC_VBOX : ${{ secrets.SEC_VBOX }} | |
steps: | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
# this might remove tools that are actually needed, | |
# if set to "true" but frees about 6 GB | |
tool-cache: false | |
- uses: actions/checkout@v4 | |
- name: Creating Web console | |
uses: vmactions/cf-tunnel@v0 | |
id: tunnel | |
with: | |
protocol: http | |
port: 8000 | |
- run: | | |
bash build.sh conf/freebsd-${{ matrix.os }}.conf | |
- name: Upload Release Asset | |
if: "contains(github.ref, 'refs/tags/')" | |
id: upload-release-asset | |
uses: softprops/action-gh-release@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: | | |
freebsd-${{ matrix.os }}.qcow2.zst* | |
freebsd-${{ matrix.os }}-id_rsa.pub | |
freebsd-${{ matrix.os }}-host.id_rsa | |