Skip to content

CI: Updated to new Windower API #270

CI: Updated to new Windower API

CI: Updated to new Windower API #270

Workflow file for this run

name: Build;
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
defaults:
run:
shell: pwsh
jobs:
manifest_check:
name: Validate Manifest
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Validate package manifests
run: .github/scripts/check-manifests
syntax_check:
name: Validate Syntax
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download LuaJIT binaries
with:
repository: luapower/luajit
path: .tools
uses: actions/checkout@v2
- name: Validate Lua syntax
run: .github/scripts/check-syntax
license_check:
name: Validate License Text
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Validate license text
run: .github/scripts/check-license
version_check:
name: Check Version
runs-on: windows-latest
if: github.event_name == 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Check version numbers
run: .github/scripts/check-versions
build:
name: Build
runs-on: windows-latest
steps:
- name: Set up environment
uses: microsoft/setup-msbuild@v1.0.2
- name: Checkout
uses: actions/checkout@v4
- name: Stage files
run: .github/scripts/stage-files
- name: Build native binaries
run: .github/scripts/build-native-binaries
- name: Build package index
run: .github/scripts/build-package-index
- name: Check out API repo
if: github.event_name == 'push'
uses: actions/checkout@v4
with:
repository: Windower/Api
path: .api
- name: Upload artifacts to Windower server
if: github.event_name == 'push'
uses: ./.api/.github/actions/upload
with:
url: https://api.windower.net/gh
api-key: ${{secrets.WINDOWER_SERVER_API_KEY}}
repository: ${{github.event.repository.name}}
directory: .staging