Skip to content

Commit

Permalink
[Imp] build: CI: GitHub: CPA: OpenBSD: Add 7.6.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@22951 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Feb 16, 2025
1 parent 2663da6 commit bff818d
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions .github/workflows/OpenBSD-7.6-Makefile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: OpenBSD 7.6 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/[email protected]
with:
architecture: x86_64
memory: 4G
operating_system: openbsd
version: '7.6'
shell: bash
sync_files: runner-to-vm
shutdown_vm: false
run: true
- name: Install dependencies
uses: cross-platform-actions/[email protected]
with:
architecture: x86_64
memory: 4G
operating_system: openbsd
version: '7.6'
shell: bash
sync_files: false
shutdown_vm: false
run: |
sudo pkg_add -u
sudo pkg_add -I ghostscript-10.03.1
sudo pkg_add -I autoconf-2.71 automake-1.16.5
sudo pkg_add -I subversion p5-XML-XPath git mawk gmake pkgconf autoconf-archive libtool libltdl help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio-svn sdl2
- name: Build
uses: cross-platform-actions/[email protected]
with:
architecture: x86_64
memory: 4G
operating_system: openbsd
version: '7.6'
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/[email protected]
with:
architecture: x86_64
memory: 4G
operating_system: openbsd
version: '7.6'
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/[email protected]
with:
architecture: x86_64
memory: 4G
operating_system: openbsd
version: '7.6'
shell: bash
sync_files: false
shutdown_vm: true
run: true

0 comments on commit bff818d

Please sign in to comment.