From baf31e923e1517760d03e47a3f8b3be47ce1779c Mon Sep 17 00:00:00 2001 From: CrimRecya <335958461@qq.com> Date: Mon, 16 Dec 2024 16:15:31 +0800 Subject: [PATCH] Auto build --- .github/workflows/nightly-pack.yml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/nightly-pack.yml diff --git a/.github/workflows/nightly-pack.yml b/.github/workflows/nightly-pack.yml new file mode 100644 index 0000000000..ac85a73854 --- /dev/null +++ b/.github/workflows/nightly-pack.yml @@ -0,0 +1,33 @@ +name: Nightly Build + +on: + push: + branches: + - develop-Mix4BEtest + - develop-Mix4ECpack + +env: + # Path to the solution file relative to the root of the project. + SOLUTION_FILE_PATH: . + + # 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: DevBuild + # GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA") + # GIT_BRANCH: ${GITHUB_REF#refs/heads/} + +jobs: + build: + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Build Phobos + uses: ./.github/actions/build-phobos # Build steps are reused + with: + sln-path: ${{env.SOLUTION_FILE_PATH}} + build-config: ${{env.BUILD_CONFIGURATION}}