Skip to content

Commit

Permalink
TEST: Try using defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
magicaldave committed Nov 23, 2024
1 parent 964cae5 commit 4aa6ec1
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Windows Build & Test

defaults:
run:
shell: bash
working-directory: C:\Dreamweave

on:
push:
branches:
Expand All @@ -15,7 +20,6 @@ on:
env:
BUILD_TYPE: Release
GIT_TERMINAL_PROMPT: 0
working-directory: C:\Dreamweave

jobs:
Windows:
Expand All @@ -26,7 +30,6 @@ jobs:

steps:
- name: Clone
shell: bash
working-directory: C:\
run: |
git clone https://github.com/DreamWeave-MP/Dreamweave.git
Expand Down Expand Up @@ -58,36 +61,32 @@ jobs:

- name: Install Building Dependencies
if: steps.cache-WinDeps.outputs.cache-hit != 'true'
shell: bash
working-directory: ${{ env.working-directory }}
run: |
pwd
ls -R
curl -o CrabNet.7z -L https://github.com/DreamWeave-MP/CrabNet/releases/download/Stable-CI/CrabNet-${{ runner.os }}-${{ matrix.BUILD_TYPE }}.7z
7z x -y CrabNet.7z -oextern/raknet
C:/Dreamweave/CI/before_script.msvc.sh -C -V -N -k -p Win64 -v 2022
CI/before_script.msvc.sh -C -V -N -k -p Win64 -v 2022
- name: Configure
if: steps.cache-WinDeps.outputs.cache-hit == 'true'
shell: bash
working-directory: ${{ env.working-directory }}
run: |
pwd
ls -R
C:/Dreamweave/CI/before_script.msvc.sh -C -V -N -k -p Win64 -v 2022 -d -e
- name: Build
shell: bash
working-directory: ${{ env.working-directory }}
run: |
cd MSVC2022_64_Ninja
source activate_msvc.sh
ninja -f build-${{ matrix.BUILD_TYPE }}.ninja
- name: Package
shell: bash
working-directory: ${{ env.working-directory }}
run: CI/make_package.msvc.sh ${{ matrix.BUILD_TYPE }}

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
path: ${{ env.working-directory }}/dreamweave-build
path: C:/Dreamweave/dreamweave-build
name: dreamweave_windows-${{ matrix.BUILD_TYPE }}

0 comments on commit 4aa6ec1

Please sign in to comment.