feat: i think this ci should work

This commit is contained in:
Hyblocker committed 2026-06-12 15:07:37 +02:00
1 parent be4457a361
commit 4d41db7297
1 file changed
+53
+53
View File
@@ -0,0 +1,53 @@
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
env:
BUILD_TYPE: RelWithDebInfo
jobs:
build:
name: Build (${{ matrix.name }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- name: windows-x64
os: windows-2025-vs2026
artifact-name: space-calibrator-win64
- name: linux-x64
os: ubuntu-latest
container: registry.gitlab.steamos.cloud/steamrt/steamrt4/sdk:latest
artifact-name: space-calibrator-linux-x64
- name: linux-arm64
os: ubuntu-latest
container: registry.gitlab.steamos.cloud/steamrt/steamrt4/sdk/arm64:latest
artifact-name: space-calibrator-linux-arm64
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact-name }}
path: |
${{ github.workspace }}/build/**/artifacts/
${{ github.workspace }}/build/driver_01spacecalibrator/