Skip to content

Commit 3745df1

Browse files
committed
[Var] build: CI: GitHub: CPA: Update to v1.1.0 (2026-05-17).
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@25350 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent 1043685 commit 3745df1

8 files changed

Lines changed: 124 additions & 364 deletions

.github/workflows/FreeBSD-Autotools.yml

Lines changed: 12 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -27,49 +27,23 @@ jobs:
2727
- name: Checkout
2828
uses: actions/checkout@v4
2929
- name: Startup VM
30-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
31-
with:
32-
architecture: x86_64
33-
memory: 4G
34-
operating_system: freebsd
35-
version: ${{matrix.version}}
36-
shell: bash
37-
sync_files: runner-to-vm
38-
shutdown_vm: false
39-
run: true
40-
- name: Install dependencies
41-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
30+
uses: cross-platform-actions/action@v1.1.0
4231
with:
4332
architecture: x86_64
4433
memory: 4G
4534
operating_system: freebsd
4635
version: ${{matrix.version}}
4736
shell: bash
4837
sync_files: false
49-
shutdown_vm: false
50-
run: |
51-
sudo pkg upgrade -y
52-
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
38+
- name: Sync files to VM
39+
shell: cpa.sh {0} --sync-files runner-to-vm
40+
run: true
41+
- name: Install dependencies
42+
shell: cpa.sh {0} --sync-files none
43+
run: |
44+
sudo pkg upgrade -y
45+
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
5346
- name: Build
54-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
55-
with:
56-
architecture: x86_64
57-
memory: 4G
58-
operating_system: freebsd
59-
version: ${{matrix.version}}
60-
shell: bash
61-
sync_files: false
62-
shutdown_vm: false
63-
run: |
64-
export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"; ./build/autotools/autoconfiscate.sh
65-
- name: Shutdown VM
66-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
67-
with:
68-
architecture: x86_64
69-
memory: 4G
70-
operating_system: freebsd
71-
version: ${{matrix.version}}
72-
shell: bash
73-
sync_files: false
74-
shutdown_vm: true
75-
run: true
47+
shell: cpa.sh {0} --sync-files none
48+
run: |
49+
export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"; ./build/autotools/autoconfiscate.sh

.github/workflows/FreeBSD-Makefile.yml

Lines changed: 15 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -33,61 +33,27 @@ jobs:
3333
- name: Checkout
3434
uses: actions/checkout@v4
3535
- name: Startup VM
36-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
37-
with:
38-
architecture: x86_64
39-
memory: 4G
40-
operating_system: freebsd
41-
version: ${{matrix.version}}
42-
shell: bash
43-
sync_files: runner-to-vm
44-
shutdown_vm: false
45-
run: true
46-
- name: Install dependencies
47-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
36+
uses: cross-platform-actions/action@v1.1.0
4837
with:
4938
architecture: x86_64
5039
memory: 4G
5140
operating_system: freebsd
5241
version: ${{matrix.version}}
5342
shell: bash
5443
sync_files: false
55-
shutdown_vm: false
56-
run: |
57-
sudo pkg upgrade -y
58-
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
44+
- name: Sync files to VM
45+
shell: cpa.sh {0} --sync-files runner-to-vm
46+
run: true
47+
- name: Install dependencies
48+
shell: cpa.sh {0} --sync-files none
49+
run: |
50+
sudo pkg upgrade -y
51+
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
5952
- name: Build
60-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
61-
with:
62-
architecture: x86_64
63-
memory: 4G
64-
operating_system: freebsd
65-
version: ${{matrix.version}}
66-
shell: bash
67-
sync_files: false
68-
shutdown_vm: false
69-
run: |
70-
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }}
53+
shell: cpa.sh {0} --sync-files none
54+
run: |
55+
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }}
7156
- name: Test
72-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
73-
with:
74-
architecture: x86_64
75-
memory: 4G
76-
operating_system: freebsd
77-
version: ${{matrix.version}}
78-
shell: bash
79-
sync_files: false
80-
shutdown_vm: false
81-
run: |
82-
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }} check
83-
- name: Shutdown VM
84-
uses: cross-platform-actions/action@bf4c487506d60be13c9e4d72c1f430e2361efebf
85-
with:
86-
architecture: x86_64
87-
memory: 4G
88-
operating_system: freebsd
89-
version: ${{matrix.version}}
90-
shell: bash
91-
sync_files: false
92-
shutdown_vm: true
93-
run: true
57+
shell: cpa.sh {0} --sync-files none
58+
run: |
59+
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }} check

.github/workflows/MidnightBSD-Autotools.yml

Lines changed: 13 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -25,50 +25,24 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v4
2727
- name: Startup VM
28-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
29-
with:
30-
architecture: x86_64
31-
memory: 4G
32-
operating_system: midnightbsd
33-
version: ${{matrix.version}}
34-
shell: bash
35-
sync_files: runner-to-vm
36-
shutdown_vm: false
37-
run: true
38-
- name: Install dependencies
39-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
28+
uses: cross-platform-actions/action@v1.1.0
4029
with:
4130
architecture: x86_64
4231
memory: 4G
4332
operating_system: midnightbsd
4433
version: ${{matrix.version}}
4534
shell: bash
4635
sync_files: false
47-
shutdown_vm: false
48-
run: |
49-
sudo mport index
50-
sudo mport upgrade
51-
sudo mport install subversion p5-XML-TreePP git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2 || true
36+
- name: Sync files to VM
37+
shell: cpa.sh {0} --sync-files runner-to-vm
38+
run: true
39+
- name: Install dependencies
40+
shell: cpa.sh {0} --sync-files none
41+
run: |
42+
sudo mport index
43+
sudo mport upgrade
44+
sudo mport install subversion p5-XML-TreePP git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2 || true
5245
- name: Build
53-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
54-
with:
55-
architecture: x86_64
56-
memory: 4G
57-
operating_system: midnightbsd
58-
version: ${{matrix.version}}
59-
shell: bash
60-
sync_files: false
61-
shutdown_vm: false
62-
run: |
63-
export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"; ./build/autotools/autoconfiscate.sh
64-
- name: Shutdown VM
65-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
66-
with:
67-
architecture: x86_64
68-
memory: 4G
69-
operating_system: midnightbsd
70-
version: ${{matrix.version}}
71-
shell: bash
72-
sync_files: false
73-
shutdown_vm: true
74-
run: true
46+
shell: cpa.sh {0} --sync-files none
47+
run: |
48+
export MAKEFLAGS="-j$(sysctl -n hw.ncpu)"; ./build/autotools/autoconfiscate.sh

.github/workflows/MidnightBSD-Makefile.yml

Lines changed: 16 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -27,62 +27,28 @@ jobs:
2727
- name: Checkout
2828
uses: actions/checkout@v4
2929
- name: Startup VM
30-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
31-
with:
32-
architecture: x86_64
33-
memory: 4G
34-
operating_system: midnightbsd
35-
version: ${{matrix.version}}
36-
shell: bash
37-
sync_files: runner-to-vm
38-
shutdown_vm: false
39-
run: true
40-
- name: Install dependencies
41-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
30+
uses: cross-platform-actions/action@v1.1.0
4231
with:
4332
architecture: x86_64
4433
memory: 4G
4534
operating_system: midnightbsd
4635
version: ${{matrix.version}}
4736
shell: bash
4837
sync_files: false
49-
shutdown_vm: false
50-
run: |
51-
sudo mport index
52-
sudo mport upgrade
53-
sudo mport install subversion p5-XML-TreePP git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2 || true
38+
- name: Sync files to VM
39+
shell: cpa.sh {0} --sync-files runner-to-vm
40+
run: true
41+
- name: Install dependencies
42+
shell: cpa.sh {0} --sync-files none
43+
run: |
44+
sudo mport index
45+
sudo mport upgrade
46+
sudo mport install subversion p5-XML-TreePP git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2 || true
5447
- name: Build
55-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
56-
with:
57-
architecture: x86_64
58-
memory: 4G
59-
operating_system: midnightbsd
60-
version: ${{matrix.version}}
61-
shell: bash
62-
sync_files: false
63-
shutdown_vm: false
64-
run: |
65-
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }}
48+
shell: cpa.sh {0} --sync-files none
49+
run: |
50+
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }}
6651
- name: Test
67-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
68-
with:
69-
architecture: x86_64
70-
memory: 4G
71-
operating_system: midnightbsd
72-
version: ${{matrix.version}}
73-
shell: bash
74-
sync_files: false
75-
shutdown_vm: false
76-
run: |
77-
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }} check
78-
- name: Shutdown VM
79-
uses: cross-platform-actions/action@13ec3be3fbdfe52a660fe21c83f332747ed878be
80-
with:
81-
architecture: x86_64
82-
memory: 4G
83-
operating_system: midnightbsd
84-
version: ${{matrix.version}}
85-
shell: bash
86-
sync_files: false
87-
shutdown_vm: true
88-
run: true
52+
shell: cpa.sh {0} --sync-files none
53+
run: |
54+
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 ${{ (matrix.deps == 'sys') && 'AUTO_DEPS=1' || (matrix.deps == 'local') && 'LOCAL_ZLIB=1 LOCAL_MPG123=1 LOCAL_OGG=1 LOCAL_VORBIS=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' || 'NO_ZLIB=1 NO_MPG123=1 NO_OGG=1 NO_VORBIS=1 NO_VORBISFILE=1 NO_PORTAUDIO=1 NO_PORTAUDIOCPP=1 NO_PULSEAUDIO=1 NO_SDL2=1 NO_FLAC=1 NO_SNDFILE=1' }} check

.github/workflows/NetBSD-Autotools.yml

Lines changed: 17 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -26,54 +26,28 @@ jobs:
2626
- name: Checkout
2727
uses: actions/checkout@v4
2828
- name: Startup VM
29-
uses: cross-platform-actions/action@v1.0.0
30-
with:
31-
architecture: x86_64
32-
memory: 4G
33-
operating_system: netbsd
34-
version: ${{matrix.version}}
35-
shell: bash
36-
sync_files: runner-to-vm
37-
shutdown_vm: false
38-
run: true
39-
- name: Install dependencies
40-
uses: cross-platform-actions/action@v1.0.0
29+
uses: cross-platform-actions/action@v1.1.0
4130
with:
4231
architecture: x86_64
4332
memory: 4G
4433
operating_system: netbsd
4534
version: ${{matrix.version}}
4635
shell: bash
4736
sync_files: false
48-
shutdown_vm: false
49-
run: |
50-
sudo pkgin -y update
51-
sudo pkgin -y full-upgrade
52-
sudo pkgin -y install subversion-base git p5-XML-XPath mawk
53-
sudo pkgin -y install gmake pkgconf
54-
sudo pkgin -y install mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio SDL2
55-
sudo pkgin -y install autoconf autoconf-archive automake libtool libltdl
56-
sudo pkgin -y install doxygen help2man
37+
- name: Sync files to VM
38+
shell: cpa.sh {0} --sync-files runner-to-vm
39+
run: true
40+
- name: Install dependencies
41+
shell: cpa.sh {0} --sync-files none
42+
run: |
43+
sudo pkgin -y update
44+
sudo pkgin -y full-upgrade
45+
sudo pkgin -y install subversion-base git p5-XML-XPath mawk
46+
sudo pkgin -y install gmake pkgconf
47+
sudo pkgin -y install mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio SDL2
48+
sudo pkgin -y install autoconf autoconf-archive automake libtool libltdl
49+
sudo pkgin -y install doxygen help2man
5750
- name: Build
58-
uses: cross-platform-actions/action@v1.0.0
59-
with:
60-
architecture: x86_64
61-
memory: 4G
62-
operating_system: netbsd
63-
version: ${{matrix.version}}
64-
shell: bash
65-
sync_files: false
66-
shutdown_vm: false
67-
run: |
68-
export MAKEFLAGS="-j4"; ./build/autotools/autoconfiscate.sh
69-
- name: Shutdown VM
70-
uses: cross-platform-actions/action@v1.0.0
71-
with:
72-
architecture: x86_64
73-
memory: 4G
74-
operating_system: netbsd
75-
version: ${{matrix.version}}
76-
shell: bash
77-
sync_files: false
78-
shutdown_vm: true
79-
run: true
51+
shell: cpa.sh {0} --sync-files none
52+
run: |
53+
export MAKEFLAGS="-j4"; ./build/autotools/autoconfiscate.sh

0 commit comments

Comments
 (0)