Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 37 additions & 7 deletions .github/workflows/meson.yml → .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
name: Linux Build
name: Build
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the development branch
# Triggers the workflow on push to the development or master branches
push:
branches: [ master, development ]
release:
branches: [master, development]
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"
build-release-linux:
# The type of runner that the job will run on
runs-on: ubuntu-20.04

name: Linux Release Build

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -77,7 +75,39 @@ jobs:
./lindeploy --appdir=build/AppDir --output appimage

- name: Upload Appimage
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: CortexCommand.AppImage
path: CortexCommand.AppImage

build-release-windows:
env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: RTEA.sln

# Configuration type to build.
# You can convert this to a build matrix if you need coverage of multiple configuration types.
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
BUILD_CONFIGURATION: "Final"

runs-on: windows-latest
name: Windows Release Build

steps:
- uses: actions/checkout@v2

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration="${{env.BUILD_CONFIGURATION}}" ${{env.SOLUTION_FILE_PATH}}

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: Cortex Command.exe
path: D:/a/Cortex-Command-Community-Project-Source/Cortex-Command-Community-Project-Data/Cortex Command x64.exe
if-no-files-found: warn
28 changes: 12 additions & 16 deletions .github/workflows/build-check.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
name: Compile check
name: Continuous Integration

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the development branch
push:
branches: [master, development]
# Triggers the workflow on all pull request events
pull_request:
types: [opened, reopened, ready_for_review, synchronize]

workflow_dispatch:

jobs:
build-linux:
# The type of runner that the job will run on
runs-on: ubuntu-20.04

name: Linux Build

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -67,16 +63,16 @@ jobs:
BUILD_CONFIGURATION: "Final"

runs-on: windows-latest
name: Windows Build

steps:
- uses: actions/checkout@v2

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
- uses: actions/checkout@v2

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration="${{env.BUILD_CONFIGURATION}}" ${{env.SOLUTION_FILE_PATH}}
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration="${{env.BUILD_CONFIGURATION}}" ${{env.SOLUTION_FILE_PATH}}
41 changes: 0 additions & 41 deletions .github/workflows/msbuild.yml

This file was deleted.