diff --git a/.github/workflows/build-redsun.yml b/.github/workflows/build-redsun.yml new file mode 100644 index 0000000..c892555 --- /dev/null +++ b/.github/workflows/build-redsun.yml @@ -0,0 +1,29 @@ +name: Build RedSun + +on: + push: + pull_request: + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up MSVC + uses: ilammy/msvc-dev-cmd@v1 + - name: Build RedSun + shell: cmd + run: | + if not exist build mkdir build + cl /nologo /EHsc /W3 /std:c++17 RedSun.cpp /Febuild\RedSun.exe + move /y build\RedSun.exe build\RedSun.awesome + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: RedSun-awesome + path: build\RedSun.awesome