Skip to content

Commit

Permalink
Try fix linux Qt5 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStevns committed Nov 29, 2024
1 parent 685f96f commit ad7cdbd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .github/actions/install-dependencies/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ setup_linux() {
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly gstreamer1.0-alsa gstreamer1.0-pulseaudio git \
curl libfuse2

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
nvm install 16.20.2
nvm use 16.20.2
else
apt-get install -yq --no-install-suggests --no-install-recommends \
build-essential qt6-l10n-tools qt6-base-dev qt6-multimedia-dev \
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,13 @@ jobs:
container: ${{matrix.container}}
env: {ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true}
steps:
- name: Install git (Linux)
# GitHub runners come with git pre-installed, but our "custom" Linux
# container image does not
if: runner.os == 'Linux'
run: |
apt-get update -yq
apt-get -yq install software-properties-common
apt-add-repository -y ppa:git-core/ppa
apt-get update -yq
apt-get install -yq --no-install-suggests --no-install-recommends git
- name: Check out repository
uses: actions/checkout@v3
- name: Install dependencies
uses: ./.github/actions/install-dependencies
with:
arch: ${{matrix.arch}}
qt: ${{matrix.qt}}
- name: Check out repository
uses: actions/checkout@v3

- name: Set up environment
uses: ./.github/actions/setup-environment
Expand Down

0 comments on commit ad7cdbd

Please sign in to comment.