From 0e9752e549af0047a531c19a9aa039b70ceecb7f Mon Sep 17 00:00:00 2001 From: Dylan Beattie Date: Tue, 16 Jul 2024 01:18:57 +0100 Subject: [PATCH] Add a thing --- .../01-build-and-test-rockstar-engine.yml | 104 +++++++++--------- .github/workflows/pages.yml | 3 +- 2 files changed, 53 insertions(+), 54 deletions(-) diff --git a/.github/workflows/01-build-and-test-rockstar-engine.yml b/.github/workflows/01-build-and-test-rockstar-engine.yml index b5492e3..e292766 100644 --- a/.github/workflows/01-build-and-test-rockstar-engine.yml +++ b/.github/workflows/01-build-and-test-rockstar-engine.yml @@ -1,54 +1,54 @@ -name: build-and-test-engine - -on: - push: - branches: ["main"] - paths: - - 'Starship/**' - - '.github/workflows/**' - workflow_dispatch: - workflow_call: - -jobs: - # Build job - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Set up .NET 8 SDK - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '8.x' - - - name: Install .NET WASM workloads - working-directory: ./Starship - run: dotnet workload restore - - - name: Build Rockstar - run: dotnet build Starship -configuration Release - - - name: Test Rockstar - run: dotnet test Starship -c Release - - - name: Publish WASM engine - run: dotnet publish Starship/Rockstar.Wasm -o rockstar_wasm -c Release - - # - name: Publish Rockstar Linux binary - # run: dotnet publish Starship/Rockstar -o rockstar_linux_binary -c Release - - - name: Upload WASM engine - uses: actions/upload-artifact@v4 - with: - name: rockstar_wasm - path: | - rockstar_wasm/wwwroot/_framework - - # - name: Upload Linux binary - # uses: actions/upload-artifact@v4 - # with: - # name: rockstar_linux_binary - # path: | - # rockstar_linux_binary +# name: build-and-test-engine + +# on: +# push: +# branches: ["main"] +# paths: +# - 'Starship/**' +# - '.github/workflows/**' +# workflow_dispatch: +# workflow_call: + +# jobs: +# # Build job +# build: +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: actions/checkout@v4 +# - name: Set up .NET 8 SDK +# uses: actions/setup-dotnet@v3 +# with: +# dotnet-version: '8.x' + +# - name: Install .NET WASM workloads +# working-directory: ./Starship +# run: dotnet workload restore + +# - name: Build Rockstar +# run: dotnet build Starship -configuration Release + +# - name: Test Rockstar +# run: dotnet test Starship -c Release + +# - name: Publish WASM engine +# run: dotnet publish Starship/Rockstar.Wasm -o rockstar_wasm -c Release + +# # - name: Publish Rockstar Linux binary +# # run: dotnet publish Starship/Rockstar -o rockstar_linux_binary -c Release + +# - name: Upload WASM engine +# uses: actions/upload-artifact@v4 +# with: +# name: rockstar_wasm +# path: | +# rockstar_wasm/wwwroot/_framework + +# # - name: Upload Linux binary +# # uses: actions/upload-artifact@v4 +# # with: +# # name: rockstar_linux_binary +# # path: | +# # rockstar_linux_binary diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 3a870d0..8e11d39 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -55,10 +55,9 @@ jobs: uses: actions/configure-pages@v5 - name: Build with Jekyll - working-directory: ./codewithrockstar.com # Outputs to the './_site' directory by default run: | - cd codewithrockstar.com + cd ./codewithrockstar.com bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" env: JEKYLL_ENV: production