File tree Expand file tree Collapse file tree
linux-docker-release-verify Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ inputs:
2121 description : ' 1 if verifying pre-release,0 otherwise'
2222 required : true
2323 default : ' 0'
24+ ghtoken :
25+ description : ' GitHub token'
26+ required : true
2427
2528runs :
2629 using : ' docker'
3134 - ${{ inputs.test }}
3235 - ${{ inputs.release }}
3336 - ${{ inputs.pre }}
37+ - ${{ inputs.ghtoken }}
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- _distro =$1
3+ export distro =$1
44_ruby=$2
55_test=$3
66_release=$4
77_pre=$5
8+ _ghtok=$6
89
9- ./tools/scripts/docker/setup-$_distro .sh test
10+ ./tools/scripts/docker/setup-$distro .sh test
1011
1112# Show some information about the system.
1213uname -a
@@ -17,7 +18,7 @@ cat /etc/os-release
1718if [ " $_ruby " == " system" ]; then
1819 # testing with system ruby
1920
20- ./tools/scripts/docker/setup-$_distro -system-ruby.sh
21+ ./tools/scripts/docker/setup-$distro -system-ruby.sh
2122
2223else
2324 # testing with latest ruby
@@ -32,6 +33,7 @@ if [ "$_pre" == "1" ]; then
3233else
3334 export __WXRUBY_PRERELEASE=" "
3435fi
36+ export GITHUB_TOKEN=" $_ghtok "
3537
3638if [ " $_test " == " 1" ]; then
3739
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- distro=$1
3+ export distro=$1
44ruby=$2
55
66./tools/scripts/docker/setup-$distro .sh
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- _distro =$1
3+ export distro =$1
44_ruby=$2
55
66export WXRUBY_TEST_EXCLUDE=' test_intl:test_media_ctrl'
77
8- ./tools/scripts/docker/setup-$_distro .sh test
8+ ./tools/scripts/docker/setup-$distro .sh test
99
1010# Show some information about the system.
1111uname -a
@@ -16,7 +16,7 @@ cat /etc/os-release
1616if [ " $_ruby " == " system" ]; then
1717 # testing with system ruby
1818
19- ./tools/scripts/docker/setup-$_distro -system-ruby.sh
19+ ./tools/scripts/docker/setup-$distro -system-ruby.sh
2020
2121 ./tools/scripts/docker/build-wxruby3.sh 2>&1 | tee -a build-wxruby3.log
2222
Original file line number Diff line number Diff line change 5757 target_ruby : system
5858 - os : ubuntu-24.04
5959 arch : x86_64
60- target_distro : ubuntu
60+ target_distro : linuxmint
6161 target_docker_image : ['linuxmintd', 'mint22.3-amd64']
6262 target_base : ' latest'
6363 target_ruby : system
Original file line number Diff line number Diff line change @@ -448,13 +448,13 @@ jobs:
448448 target_ruby : ' system'
449449 - os : ubuntu-24.04
450450 arch : x86_64
451- target_distro : ubuntu
451+ target_distro : linuxmint
452452 target_docker_image : ['linuxmintd', 'mint22.3-amd64']
453453 target_base : ' latest'
454454 target_ruby : ' system'
455455 - os : ubuntu-24.04
456456 arch : x86_64
457- target_distro : ubuntu
457+ target_distro : linuxmint
458458 target_docker_image : ['linuxmintd', 'mint22.3-amd64']
459459 target_base : ' latest'
460460 target_ruby : ' latest'
@@ -504,6 +504,7 @@ jobs:
504504 test : ${{ case(github.event_name == 'workflow_dispatch', '1', '0') }}
505505 release : ${{ env.WXRUBY_RELEASE }}
506506 pre : ${{ env.WXRUBY_PRERELEASE }}
507+ ghtoken : ${{ secrets.GITHUB_TOKEN }}
507508
508509 release-docker-binpkg-prev-ver :
509510 needs : release-docker-binpkg
@@ -741,6 +742,7 @@ jobs:
741742 test : ${{ case(github.event_name == 'workflow_dispatch', '1', '0') }}
742743 release : ${{ env.WXRUBY_RELEASE }}
743744 pre : ${{ env.WXRUBY_PRERELEASE }}
745+ ghtoken : ${{ secrets.GITHUB_TOKEN }}
744746
745747 verify-gem :
746748 needs :
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ if [ " $1 " == " remove" ]; then
4+ apt-get remove -y ruby ruby-dev
5+ else
6+ apt-get install -y ruby ruby-dev ruby-bundler openssl libssl-dev
7+ fi
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ apt-get update
4+ apt full-upgrade -y
5+ apt-get install -y git make gcc gpg xvfb xfonts-75dpi curl procps bzip2
6+ if [ " $1 " == " test" ]; then
7+ source /etc/os-release
8+ case $VERSION_ID in
9+ 24.04|26.04)
10+ apt-get install -y ' libgtk-3-[0-9]+' ' libwebkit2gtk-4.1-[0-9]+' ' libgspell-1-[0-9]+' libnotify4 ' libsecret-1-[0-9]+' curl
11+ ;;
12+ * )
13+ apt-get install -y ' libgtk-3-[0-9]+' ' libwebkit2gtk-4.0-[0-9]+' ' libgspell-1-[0-9]+' libnotify4 ' libsecret-1-[0-9]+' curl
14+ ;;
15+ esac
16+ fi
You can’t perform that action at this time.
0 commit comments