gtkradiant/.github/workflows/main.yml

39 lines
1.3 KiB
YAML
Raw Normal View History

2021-04-25 16:05:58 +00:00
name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
2021-04-25 16:14:23 +00:00
branches: [ main ]
2021-04-25 16:05:58 +00:00
pull_request:
2021-04-25 16:14:23 +00:00
branches: [ main ]
2021-04-25 16:05:58 +00:00
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
windows-build:
# The type of runner that the job will run on
runs-on: windows-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
2021-04-25 16:19:20 +00:00
- name: Install scons
run: pip install scons
2021-04-25 20:36:28 +00:00
- name: Install svn
run: choco install svn
2021-04-25 16:19:20 +00:00
- name: Setup GtkRadiant
2021-04-25 16:49:32 +00:00
run: scons target=setup
2021-04-25 21:12:01 +00:00
- name: Build GtkRadiant
2021-04-25 21:19:17 +00:00
run: & "${Env:ProgramFiles(X86)}\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" /p:Configuration=Release /p:Platform=Win32 /target:radiant
2021-04-25 21:12:01 +00:00
- name: Build q3map2 x64
2021-04-25 21:19:17 +00:00
run: & "${Env:ProgramFiles(X86)}\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\MSBuild.exe" /p:Configuration=Release /p:Platform=x64 /target:q3map2