Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5e7e884
adding docker release jobs
mcorino May 19, 2026
5ddf73e
fix typos
mcorino May 19, 2026
4c198e2
update
mcorino May 19, 2026
0383f55
fix and handle more complex situations
mcorino May 19, 2026
032fc3c
fix invalid character
mcorino May 19, 2026
e171550
add missing wxRuby3 checkout
mcorino May 19, 2026
6960b04
reorder gem install switch
mcorino May 19, 2026
0770a0c
update
mcorino May 19, 2026
da18834
update
mcorino May 19, 2026
7f4256a
remove test setup for binpkg build
mcorino May 20, 2026
e1f8829
update debian package specs
mcorino May 20, 2026
da82dd8
add --keep-going and test reporting
mcorino May 20, 2026
870a46e
fix overwrite of WXRUBY_VERSION and improve testing
mcorino May 20, 2026
9ecf09d
fix tests
mcorino May 20, 2026
142aa21
use '__' prefixed vars to prevent clashes with other tools; cleanup
mcorino May 20, 2026
07ef75e
add full docker release set
mcorino May 20, 2026
260b9a9
improve job names; fix opensuse docker version
mcorino May 20, 2026
ef468f1
release only opensuse binpkg for latest Ruby
mcorino May 20, 2026
5d112d9
fix incorrect target_ruby
mcorino May 20, 2026
3d60cc1
add packages required for openssl gem
mcorino May 20, 2026
2b4191c
add bzip2
mcorino May 21, 2026
a4f9878
exclude tests for CI builds
mcorino May 21, 2026
d915cab
upgrade to ubuntu 26.04 as latest ubuntu release
mcorino May 21, 2026
ac2d0f2
add ubuntu 26.4 support; generalize debian default more
mcorino May 21, 2026
17c52da
fix ubuntu setup for 26.04
mcorino May 21, 2026
68be207
re-enable macosx binpkg builds and macosx/ubuntu verification builds …
mcorino May 22, 2026
baf76d4
wxw master compat update
mcorino May 22, 2026
4988ad4
fix type conversion issue
mcorino May 22, 2026
d892f4d
wxw master compat update
mcorino May 22, 2026
5303562
fix cast
mcorino May 22, 2026
4843100
fix backward compat
mcorino May 22, 2026
c2ff24c
fix duplicate method
mcorino May 22, 2026
9d09652
add missing include
mcorino May 22, 2026
5008dad
fix typos
mcorino May 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/actions/linux-docker-release-verify/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: docker-release-verify
author: martin
description: 'Linux release builds using docker'
inputs:
distro: # id of input
description: 'What distribution docker image to use'
required: true
default: 'ubuntu'
ruby:
description: 'What ruby version to use: system or latest'
required: true
default: 'latest'
test:
description: '1 if testing release workflow, 0 if actually releasing'
required: true
default: '1'
release:
description: 'Release version'
required: true
pre:
description: '1 if verifying pre-release,0 otherwise'
required: true
default: '0'

runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.distro }}
- ${{ inputs.ruby }}
- ${{ inputs.test }}
- ${{ inputs.release }}
- ${{ inputs.pre }}
44 changes: 44 additions & 0 deletions .github/actions/linux-docker-release-verify/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/usr/bin/env bash

_distro=$1
_ruby=$2
_test=$3
_release=$4
_pre=$5

./tools/scripts/docker/setup-$_distro.sh test

# Show some information about the system.
uname -a
locale
locale -a
cat /etc/os-release

if [ "$_ruby" == "system" ]; then
# testing with system ruby

./tools/scripts/docker/setup-$_distro-system-ruby.sh

else
# testing with latest ruby

./tools/scripts/docker/setup-ruby-install-latest.sh

fi

export __WXRUBY_RELEASE_VERSION=$_release
if [ "$_pre" == "1" ]; then
export __WXRUBY_PRERELEASE="--pre"
else
export __WXRUBY_PRERELEASE=""
fi

if [ "$_test" == "1" ]; then

./tools/scripts/docker/test-wxruby3-release.sh --test

else

./tools/scripts/docker/test-wxruby3-release.sh

fi
18 changes: 18 additions & 0 deletions .github/actions/linux-docker-release/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: docker-release
author: martin
description: 'Linux release builds using docker'
inputs:
distro: # id of input
description: 'What distribution docker image to use'
required: true
default: 'ubuntu'
ruby:
description: 'What ruby version to use: system or latest'
required: false
default: 'latest'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.distro }}
- ${{ inputs.ruby }}
27 changes: 27 additions & 0 deletions .github/actions/linux-docker-release/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env bash

distro=$1
ruby=$2

./tools/scripts/docker/setup-$distro.sh

# Show some information about the system.
uname -a
locale
locale -a
cat /etc/os-release

if [ "$ruby" == "system" ]; then
# testing with system ruby

./tools/scripts/docker/setup-$distro-system-ruby.sh

./tools/scripts/docker/build-wxruby3.sh --binpkg 2>&1 | tee -a build-wxruby3.log

else
# testing with latest ruby

./tools/scripts/docker/setup-ruby-install-latest.sh

./tools/scripts/docker/build-wxruby3.sh --latest --binpkg 2>&1 | tee -a build-wxruby3.log
fi
10 changes: 5 additions & 5 deletions .github/actions/linux-docker-verify/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#!/usr/bin/env bash

distro=$1
ruby=$2
_distro=$1
_ruby=$2

export WXRUBY_TEST_EXCLUDE='test_intl:test_media_ctrl'

./tools/scripts/docker/setup-$distro.sh test
./tools/scripts/docker/setup-$_distro.sh test

# Show some information about the system.
uname -a
locale
locale -a
cat /etc/os-release

if [ "$ruby" -eq "system" ]; then
if [ "$_ruby" -eq "system" ]; then
# testing with system ruby

./tools/scripts/docker/setup-$distro-system-ruby.sh
./tools/scripts/docker/setup-$_distro-system-ruby.sh

./tools/scripts/docker/build-wxruby3.sh 2>&1 | tee -a build-wxruby3.log

Expand Down
31 changes: 18 additions & 13 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,37 +47,40 @@ jobs:
- os: ubuntu-24.04
arch: x86_64
target_distro: fedora
target_base: fedora:latest
target_base: 'latest'
target_ruby: system
- os: ubuntu-24.04
arch: x86_64
target_distro: opensuse
target_base: 'opensuse/leap:latest'
target_docker_image: ['opensuse', 'leap']
target_base: 'latest'
target_ruby: system
- os: ubuntu-24.04
arch: x86_64
target_distro: ubuntu
target_base: 'linuxmintd/mint22-amd64'
target_docker_image: ['linuxmintd', 'mint22.3-amd64']
target_base: 'latest'
target_ruby: system
- os: ubuntu-24.04-arm
arch: arm64
target_distro: debian
target_base: debian:12
target_base: '12'
target_ruby: system
- os: ubuntu-24.04
arch: x86_64
target_distro: arch
target_base: 'archlinux/archlinux:latest'
target_docker_image: ['archlinux', 'archlinux']
target_base: 'latest'
target_ruby: latest
runs-on: ${{ matrix.os }}
name: ${{ matrix.target_base }} ${{ matrix.arch }} ruby=${{ matrix.target_ruby }}
name: ${{ case(matrix.target_docker_image != '', join(matrix.target_docker_image, '/'), matrix.target_distro) }}:${{ matrix.target_base }} ${{ matrix.arch }} ruby=${{ matrix.target_ruby }}
steps:
- name: Checkout wxRuby3
uses: actions/checkout@v6

- name: Setup Dockerfile
run: |
${{ github.workspace }}/tools/scripts/docker/create-docker-file.sh ${{ matrix.target_base }} ${{ github.workspace }}/.github/actions/linux-docker-verify/Dockerfile
${{ github.workspace }}/tools/scripts/docker/create-docker-file.sh ${{ case(matrix.target_docker_image != '', join(matrix.target_docker_image, '/'), matrix.target_distro) }} ${{ matrix.target_base }} ${{ github.workspace }}/.github/actions/linux-docker-verify/Dockerfile

- name: Verify wxRuby3 on docker image
uses: ./.github/actions/linux-docker-verify
Expand All @@ -95,32 +98,34 @@ jobs:
- os: ubuntu-24.04
arch: x86_64
target_distro: manjaro
target_base: 'manjarolinux/base:latest'
target_docker_image: ['manjarolinux', 'base']
target_base: 'latest'
target_ruby: system
- os: ubuntu-24.04
arch: x86_64
target_distro: debian
target_base: debian:latest
target_base: 'latest'
target_ruby: latest
- os: ubuntu-24.04-arm
arch: arm64
target_distro: fedora
target_base: fedora:42
target_base: '42'
target_ruby: latest
- os: ubuntu-24.04-arm
arch: arm64
target_distro: opensuse
target_base: 'opensuse/leap:15.6'
target_docker_image: ['opensuse', 'leap']
target_base: '15.6'
target_ruby: latest
runs-on: ${{ matrix.os }}
name: ${{ matrix.target_base }} ${{ matrix.arch }} ruby=${{ matrix.target_ruby }}
name: ${{ case(matrix.target_docker_image != '', join(matrix.target_docker_image, '/'), matrix.target_distro) }}:${{ matrix.target_base }} ${{ matrix.arch }} ruby=${{ matrix.target_ruby }}
steps:
- name: Checkout wxRuby3
uses: actions/checkout@v6

- name: Setup Dockerfile
run: |
${{ github.workspace }}/tools/scripts/docker/create-docker-file.sh ${{ matrix.target_base }} ${{ github.workspace }}/.github/actions/linux-docker-verify/Dockerfile
${{ github.workspace }}/tools/scripts/docker/create-docker-file.sh ${{ case(matrix.target_docker_image != '', join(matrix.target_docker_image, '/'), matrix.target_distro) }} ${{ matrix.target_base }} ${{ github.workspace }}/.github/actions/linux-docker-verify/Dockerfile

- name: Verify wxRuby3 on docker image
uses: ./.github/actions/linux-docker-verify
Expand Down
Loading