From: <sv...@op...> - 2024-12-05 09:52:34
|
Author: manx Date: Thu Dec 5 10:52:22 2024 New Revision: 22475 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22475 Log: [Imp] build: CI: GitHub: CPA: FreeBSD:Update FreeBSD 14 to 14.2. See r22467. Added: branches/OpenMPT-1.30/.github/workflows/FreeBSD-14.2-Makefile.yml - copied unchanged from r22474, branches/OpenMPT-1.30/.github/workflows/FreeBSD-14.1-Makefile.yml Deleted: branches/OpenMPT-1.30/.github/workflows/FreeBSD-14.1-Makefile.yml Copied: branches/OpenMPT-1.30/.github/workflows/FreeBSD-14.2-Makefile.yml (from r22474, branches/OpenMPT-1.30/.github/workflows/FreeBSD-14.1-Makefile.yml) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/OpenMPT-1.30/.github/workflows/FreeBSD-14.2-Makefile.yml Thu Dec 5 10:52:22 2024 (r22475, copy of r22474, branches/OpenMPT-1.30/.github/workflows/FreeBSD-14.1-Makefile.yml) @@ -0,0 +1,77 @@ +name: FreeBSD 14.2 Makefile + +on: + push: + branches: [ OpenMPT-1.30 ] + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +jobs: + build: + + runs-on: ubuntu-24.04 + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Startup VM + uses: cross-platform-actions/action@v0.26.0 + with: + architecture: x86_64 + memory: 4G + operating_system: freebsd + version: '14.2' + shell: bash + sync_files: runner-to-vm + shutdown_vm: false + run: true + - name: Install dependencies + uses: cross-platform-actions/action@v0.26.0 + with: + architecture: x86_64 + memory: 4G + operating_system: freebsd + version: '14.2' + shell: bash + sync_files: false + shutdown_vm: false + run: | + sudo pkg upgrade -y + sudo pkg install -y subversion p5-XML-XPath git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2 + - name: Build + uses: cross-platform-actions/action@v0.26.0 + with: + architecture: x86_64 + memory: 4G + operating_system: freebsd + version: '14.2' + shell: bash + sync_files: false + shutdown_vm: false + run: | + gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1 + - name: Test + uses: cross-platform-actions/action@v0.26.0 + with: + architecture: x86_64 + memory: 4G + operating_system: freebsd + version: '14.2' + shell: bash + sync_files: false + shutdown_vm: false + run: | + gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1 check + - name: Shutdown VM + uses: cross-platform-actions/action@v0.26.0 + with: + architecture: x86_64 + memory: 4G + operating_system: freebsd + version: '14.2' + shell: bash + sync_files: false + shutdown_vm: true + run: true |