Skip to content

Check Linux Build (GCC) #64

Check Linux Build (GCC)

Check Linux Build (GCC) #64

# Note: This workflow is currently not functional due to compiler bugs in GCC. The workflow is currently triggered every day.
# Once the compiler bugs have been fixed and the workflow runs successfully, it can be changed to be triggered on-push.
name: Check Linux Build (GCC)
on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight
concurrency:
group: check-build-lin-gcc
cancel-in-progress: true
env:
# See https://github.com/git-lfs/git-lfs/issues/5749
GIT_CLONE_PROTECTION_ACTIVE: 'false'
jobs:
build:
name: Build - ${{ matrix.config.os }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- os: ubuntu-24.04
name: "Ubuntu 24.04"
steps:
- name: Setup Pragma
uses: Silverlan/pragma/github_actions/setup@main
with:
branch: 'develop'
clone_url: "https://github.com/${{ github.repository }}.git"
- name: Install gcc-14
shell: bash
id: install-gcc
run: |
sudo apt-get install gcc-14
sudo apt-get install g++-14
- name: Build Pragma
uses: ./pragma/github_actions/build
id: build-pragma
with:
build-args: '--with-pfm --with-all-pfm-modules --with-vr --with-networking --with-lua-debugger=0 --with-swiftshader --c-compiler="gcc-14" --cxx-compiler="g++-14"'
- name: Upload Debug Artifacts
if: ${{ !cancelled() }}
uses: ./pragma/github_actions/upload_debug_artifacts
with:
build-dir: '${{ steps.build-pragma.outputs.build-dir }}'
deps-dir: '${{ steps.build-pragma.outputs.deps-dir }}'
install-dir: '${{ steps.build-pragma.outputs.install-dir }}'
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: pragma-lin64
path: ${{ steps.build-pragma.outputs.install-dir }}
retention-days: 1