This repository was archived by the owner on Sep 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66 branches : [ master ]
77jobs :
8- build :
8+ test_ubuntu_18 :
99 runs-on : ubuntu-18.04
1010 steps :
1111 - uses : actions/checkout@v2
1212 - run : bash test/run.sh
13+ env :
14+ STACK : heroku-18
15+ test_ubuntu_20 :
16+ runs-on : ubuntu-20.04
17+ steps :
18+ - uses : actions/checkout@v2
19+ - run : bash test/run.sh
20+ env :
21+ STACK : heroku-20
Original file line number Diff line number Diff line change @@ -58,12 +58,26 @@ libgdk-pixbuf2.0-0
5858libcairo-gobject2
5959# needed for CR recordings and FF video playback
6060ffmpeg
61- libvpx5
6261libpulse0
6362libusb-1.0-0
6463EOF
6564fi
6665
66+ case " $STACK " in
67+ " heroku-18" )
68+ cat << EOF >>$build_tmpdir /Aptfile
69+ libvpx5
70+ EOF
71+ ;;
72+ " heroku-20" )
73+ cat << EOF >>$build_tmpdir /Aptfile
74+ libvpx6
75+ EOF
76+ ;;
77+ * )
78+ error " STACK must be 'heroku-18' or 'heroku-20'"
79+ esac
80+
6781cat << EOF >>$build_tmpdir /Aptfile
6882# (Optional) XVFB if there's a need to run browsers in headful mode
6983xvfb
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ main() {
1515 ${bp_dir} /bin/compile ${compile_dir} ${2:- $(mktmpdir)} $env_dir
1616}
1717
18- main
18+ main
You can’t perform that action at this time.
0 commit comments