Skip to content

Commit

Permalink
Update toolchain for linux builds
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Dec 7, 2023
1 parent 15f9859 commit 31ae1c0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build
on: [push, pull_request]

env:
CACHE_VERSION_LINUX: 4
CACHE_VERSION_LINUX: 5
CACHE_VERSION_MACOS: 3
CACHE_VERSION_WIN64: 3
DEBIAN_FRONTEND: noninteractive
Expand All @@ -15,13 +15,16 @@ jobs:
container:
image: ubuntu:18.04
steps:
- name: Update git
- name: Update git and toolchain
run: |
apt-get update -qq && apt-get install -yqq curl git libpcre2-8-0
apt-get update -qq && apt-get install -yqq --no-install-recommends curl git libpcre2-8-0 software-properties-common
add-apt-repository -y ppa:ubuntu-toolchain-r/test
apt-get install -yqq g++-11
curl -sLO https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/git_2.34.1-1ubuntu1~bpo18.04.1~ppa1_amd64.deb
curl -sLO https://launchpad.net/~kxstudio-debian/+archive/ubuntu/toolchain/+files/git-man_2.34.1-1ubuntu1~bpo18.04.1~ppa1_all.deb
dpkg -i *.deb
rm *.deb
rm *.debsudo apt-get update -yqq
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11
- uses: actions/checkout@v3
with:
submodules: recursive
Expand Down

0 comments on commit 31ae1c0

Please sign in to comment.