Skip to content

Start abstracting away List<T> #160

Start abstracting away List<T>

Start abstracting away List<T> #160

Workflow file for this run

name: Continuous integration
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
env:
BUILD_PATH: "./src/vue"
jobs:
build-pages:
name: Build pages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
cache-dependency-path: ${{ env.BUILD_PATH }}/package-lock.json
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Restore dependencies
run: npm install
working-directory: ${{ env.BUILD_PATH }}
- name: Build
run: npm run build
working-directory: ${{ env.BUILD_PATH }}
env:
BASE_PATH: "${{ steps.pages.outputs.base_path }}"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "${{ env.BUILD_PATH }}/dist"
build-dotnet:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: Restore workloads
run: dotnet workload restore
- name: Restore dependencies
run: dotnet restore
- name: Build debug, no shared instances
run: dotnet build --configuration Debug /p:UseSharedInstances=false
- name: Build debug, no hash sets
run: dotnet build --configuration Debug /p:UseHashSets=false
- name: Build debug, no vectors
run: dotnet build --configuration Debug /p:UseVectors=false
- name: Build debug, no stackalloc
run: dotnet build --configuration Debug /p:UseStackalloc=false
- name: Build debug, no bit array
run: dotnet build --configuration Debug /p:UseBitArray=false
- name: Build debug, allow dynamic FLUTE degree
run: dotnet build --configuration Debug /p:AllowDynamicFluteDegree=true
- name: Build debug, no grid ToString
run: dotnet build --configuration Debug /p:EnableGridToString=false
- name: Build debug, no defines at all
run: dotnet build --configuration Debug /p:UseDefines=false
- name: Build release without defines
run: dotnet build --configuration Release /p:UseDefines=false
- name: Test without defines
run: dotnet test --no-build --configuration Release --logger "console;verbosity=normal"
- name: Build release with defines
run: dotnet build --configuration Release
- name: Test with defines
run: dotnet test --no-build --configuration Release --logger "console;verbosity=normal"
- name: Publish
run: dotnet publish src/WebApp --configuration Release --output src/WebApp/bin/publish --runtime linux-x64 --no-self-contained /p:PublishReadyToRun=true