Skip to content

CI: Actually create scons cache #7

CI: Actually create scons cache

CI: Actually create scons cache #7

name: Built Unstable (main branch)
on:
push:
branches:
- 'main'
# Make sure jobs cannot overlap.
concurrency:
group: build-unstable-main
cancel-in-progress: true
jobs:
build-linux:
name: Compile and publish Linux version
runs-on: ubuntu-latest
env:
SCONS_PLATFORM: linux
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up build cache
uses: ./.github/actions/setup-cache
continue-on-error: true
- name: Install build dependencies
uses: ./.github/actions/install-deps
- name: Setup GCC problem matcher
uses: ammaraskar/gcc-problem-matcher@master
- name: Build GDSiON (release)
uses: ./.github/actions/build-extension
with:
target: template_release
- name: Build GDSiON (debug)
uses: ./.github/actions/build-extension
with:
target: template_debug
- name: Upload release
uses: ./.github/actions/upload-extension
- name: Publish release
uses: ./.github/actions/publish-extension
build-macos:
name: Compile and publish macOS version
runs-on: macos-latest
env:
SCONS_PLATFORM: macos
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up build cache
uses: ./.github/actions/setup-cache
continue-on-error: true
- name: Install build dependencies
uses: ./.github/actions/install-deps
- name: Build GDSiON (release)
uses: ./.github/actions/build-extension
with:
target: template_release
- name: Build GDSiON (debug)
uses: ./.github/actions/build-extension
with:
target: template_debug
- name: Upload release
uses: ./.github/actions/upload-extension
- name: Publish release
uses: ./.github/actions/publish-extension
build-windows:
name: Compile and publish Windows version
runs-on: windows-latest
env:
SCONS_PLATFORM: windows
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up build cache
uses: ./.github/actions/setup-cache
continue-on-error: true
- name: Install build dependencies
uses: ./.github/actions/install-deps
- name: Setup MSVC problem matcher
uses: ammaraskar/msvc-problem-matcher@master
- name: Build GDSiON (release)
uses: ./.github/actions/build-extension
with:
target: template_release
- name: Build GDSiON (debug)
uses: ./.github/actions/build-extension
with:
target: template_debug
- name: Upload release
uses: ./.github/actions/upload-extension
- name: Publish release
uses: ./.github/actions/publish-extension
build-web:
name: Compile and publish Web version
runs-on: ubuntu-latest
env:
SCONS_PLATFORM: web
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up build cache
uses: ./.github/actions/setup-cache
continue-on-error: true
- name: Install build dependencies
uses: ./.github/actions/install-deps
- name: Build GDSiON (release)
uses: ./.github/actions/build-extension
with:
target: template_release
- name: Build GDSiON (debug)
uses: ./.github/actions/build-extension
with:
target: template_debug
- name: Upload release
uses: ./.github/actions/upload-extension
- name: Publish release
uses: ./.github/actions/publish-extension