Skip to content

test 1

test 1 #1

Workflow file for this run

name: CPA-Multistep test
on:
push:
branches: [ cpa-test ]
pull_request:
branches: [ cpa-test ]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Startup VM
uses: cross-platform-actions/action@7f2fab9c5601e3f6f057283dbac16f581ded8a8b
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '13.2'
sync_files: runner-to-vm
shutdown_vm: false
shell: bash
run: true
- name: Install dependencies
uses: cross-platform-actions/action@7f2fab9c5601e3f6f057283dbac16f581ded8a8b
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '13.2'
sync_files: false
shutdown_vm: false
shell: bash
run: sudo pkg install -y subversion p5-XML-XPath git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2
- name: Build
uses: cross-platform-actions/action@7f2fab9c5601e3f6f057283dbac16f581ded8a8b
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '13.2'
sync_files: false
shutdown_vm: false
shell: bash
run: gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1
- name: Test
uses: cross-platform-actions/action@7f2fab9c5601e3f6f057283dbac16f581ded8a8b
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '13.2'
sync_files: false
shutdown_vm: false
shell: bash
run: gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1 check
- name: Shutdown VM
uses: cross-platform-actions/action@7f2fab9c5601e3f6f057283dbac16f581ded8a8b
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '13.2'
sync_files: false
shutdown_vm: true
shell: bash
run: true