Skip to content

Commit 191750c

Browse files
committed
Add CI
1 parent 80d9747 commit 191750c

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed

.github/workflows/ci.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- v*
9+
pull_request:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Install .NET
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: 5.0.202
23+
24+
- name: Test
25+
run: dotnet test src --configuration Release
26+
27+
# publish:
28+
# needs: build
29+
30+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
31+
32+
# runs-on: ubuntu-latest
33+
34+
# steps:
35+
# - name: Download Artifacts linux-x64
36+
# uses: actions/download-artifact@v1
37+
# with:
38+
# name: linux-x64
39+
40+
# - name: Create Release
41+
# id: create_release
42+
# uses: actions/create-release@v1
43+
# env:
44+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
# with:
46+
# tag_name: ${{ github.ref }}
47+
# release_name: ${{ github.ref }}
48+
# body: "## Instructions\n1. Download the correct .zip file for your operating system\n2. Linux/Mac: export the path to your game path as an environment variable e.g.: `export CNC_GENERALS_PATH=~/generals/`\n3. Start the `OpenSage.Launcher` executable\n\n## Launcher\nThis executable will start OpenSAGE with the C&C Generals game files. To specify a different SAGE game, or see what other command line options are available, run `OpenSage.Launcher.exe --help`."
49+
# draft: false
50+
# prerelease: true
51+
52+
# TODO: Upload Release Assets
53+
# using actions/upload-a-release-asset

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
# FixMath.NET
1+
# FixedMath.NET
22

3+
## Changes
34

5+
- Use SourceGenerators to create LUTs
46

57
## Original Text
68

0 commit comments

Comments
 (0)