diff --git a/.github/workflows/build_viewer.yml b/.github/workflows/build_viewer.yml
index 1671216199..08872166db 100644
--- a/.github/workflows/build_viewer.yml
+++ b/.github/workflows/build_viewer.yml
@@ -5,6 +5,7 @@ env:
EXTRA_ARGS: -DFMODSTUDIO=ON -DUSE_KDU=ON --crashreporting
build_secrets_checkout: ${{github.workspace}}/signing
+
jobs:
build_matrix:
strategy:
@@ -31,6 +32,18 @@ jobs:
- name: Check python version
run: python -V
+ - name: Free Disk Space (Ubuntu)
+ if: runner.os == 'Linux'
+ uses: jlumbroso/free-disk-space@main
+ with:
+ swap-storage: false
+
+ - name: Set gcc version on Linux
+ if: runner.os == 'Linux'
+ run: |
+ echo "CC=gcc-10" >> $GITHUB_ENV
+ echo "CXX=g++-10" >> $GITHUB_ENV
+
- name: Install Bash 4 and GNU sed on Mac
if: runner.os == 'macOS'
run: |
@@ -117,12 +130,14 @@ jobs:
security set-key-partition-list -S apple-tool:,apple:, -s -k "$FS_KEYCHAIN_PASS" -t private ~/Library/Keychains/viewer.keychain
security list-keychain -d user -s ~/Library/Keychains/viewer.keychain
- - name: Install required Ubuntu packages
+ - name: Install required Ubuntu packages and release some space.
if: runner.os == 'Linux'
run: |
dependencies=("python3-setuptools" "mesa-common-dev" "libgl1-mesa-dev" "libxinerama-dev" "libxrandr-dev" "libpulse-dev" "libglu1-mesa-dev" "libfreetype6-dev" "libfontconfig1")
sudo apt-get update
sudo apt-get install -y "${dependencies[@]}"
+ sudo apt-get autoremove --purge
+ sudo apt-get clean
- name: test macOS bundles are present
if: runner.os == 'MacOS'
@@ -168,7 +183,9 @@ jobs:
fi
done
shell: bash
-
+ - name: Clean up packages to give more space
+ run: rm *${{ env.fallback_platform }}*bz2
+ shell: bash
- name: Configure
run: autobuild configure --debug -c ReleaseFS -A${{matrix.addrsize}} -- --package --chan ${{env.FS_RELEASE_CHAN}} ${{env.EXTRA_ARGS}} ${{env.FS_GRID}}
shell: bash
diff --git a/autobuild.xml b/autobuild.xml
index 8c76472e06..ae94d43640 100644
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -1098,11 +1098,11 @@
archive
name
linux64
@@ -1112,11 +1112,11 @@
archive
name
windows
@@ -1126,18 +1126,18 @@
archive
name
windows64
version
- 2.02.11
+ 2.02.13
fontconfig