-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update build process (punkpun PR to cameoReloaded)
- Loading branch information
1 parent
511f905
commit 2619846
Showing
31 changed files
with
1,742 additions
and
473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
permissions: | ||
contents: read # to fetch code (actions/checkout) | ||
|
||
jobs: | ||
linux: | ||
name: Linux (.NET 6.0) | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Clone Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install .NET 6.0 | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '6.0.x' | ||
|
||
- name: Prepare Environment | ||
run: | | ||
. mod.config; | ||
awk '/\r$$/ { exit(1); }' mod.config || (printf "Invalid mod.config format. File must be saved using unix-style (LF, not CRLF or CR) line endings.\n"; exit 1); | ||
- name: Check Code | ||
run: | | ||
make | ||
make check-packaging-scripts | ||
- name: Check Mod | ||
run: | | ||
sudo apt-get install lua5.1 | ||
make check-scripts | ||
linux-mono: | ||
name: Linux (mono) | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Clone Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Prepare Environment | ||
run: | | ||
. mod.config; | ||
awk '/\r$$/ { exit(1); }' mod.config || (printf "Invalid mod.config format. File must be saved using unix-style (LF, not CRLF or CR) line endings.\n"; exit 1); | ||
- name: Check Code | ||
run: | | ||
# check-packaging-scripts does not depend on .net/mono, so is not needed here | ||
mono --version | ||
make RUNTIME=mono | ||
windows: | ||
name: Windows (.NET 6.0) | ||
runs-on: windows-2019 | ||
|
||
steps: | ||
- name: Clone Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install .NET 6.0 | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '6.0.x' | ||
|
||
- name: Check Code | ||
shell: powershell | ||
run: | | ||
# Work around runtime failures on the GH Actions runner | ||
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org | ||
.\make.ps1 check |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#region Copyright & License Information | ||
|
||
/* | ||
* Copyright (c) The OpenRA Developers and Contributors | ||
* This file is part of OpenRA, which is free software. It is made | ||
* available to you under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation, either version 3 of | ||
* the License, or (at your option) any later version. For more | ||
* information, see COPYING. | ||
*/ | ||
|
||
#endregion | ||
|
||
namespace OpenRA.Mods.CA.Assets | ||
{ | ||
public enum AssetFormat | ||
{ | ||
Kknd1, | ||
Kknd2 | ||
} | ||
} |
Oops, something went wrong.