- just windows-deps / windows / package-windows: cross-compile with Odin objects + lld-link against an xwin SDK, static VC runtime - Release workflow runs on v* tags, builds Linux and Windows packages, uploads them to the package registry and creates a Gitea release - Shared toolchain setup as a local composite action Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
593 B
YAML
34 lines
593 B
YAML
#
|
|
# .gitea/workflows/gitea-build.yaml
|
|
#
|
|
# Checks, tests and builds on every push and pull request to main and develop.
|
|
#
|
|
|
|
name: "Build and Test"
|
|
on:
|
|
push:
|
|
branches: [main, develop]
|
|
pull_request:
|
|
branches: [main, develop]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Toolchain
|
|
uses: ./.gitea/actions/setup
|
|
|
|
- name: Check
|
|
run: |
|
|
odin version
|
|
just check
|
|
|
|
- name: Test
|
|
run: just test
|
|
|
|
- name: Build
|
|
run: just release
|