Added non fuel cargo volume, and transfer rate and range to shipdesig… #239
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and run Pulsar4X tests | |
on: | |
push: | |
branches: [ DevBranch ] | |
pull_request: | |
branches: [ DevBranch ] | |
jobs: | |
windows-server-2022: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 7.0.x | |
- name: Build | |
shell: pwsh | |
run: | | |
cd Pulsar4X | |
dotnet restore "Pulsar4X.sln" | |
dotnet build --no-restore | |
- name: Run tests | |
shell: pwsh | |
run: | | |
cd Pulsar4X | |
dotnet test --no-restore | |
ubuntu-22: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 7.0.x | |
- name: Build | |
shell: bash | |
run: | | |
cd Pulsar4X | |
dotnet restore "Pulsar4X.sln" | |
dotnet build --no-restore | |
- name: Run tests | |
shell: bash | |
run: | | |
cd Pulsar4X | |
dotnet test --no-restore | |
macOS-12: | |
runs-on: macos-12 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 7.0.x | |
- name: Build | |
shell: bash | |
run: | | |
cd Pulsar4X | |
dotnet restore "Pulsar4X.sln" | |
dotnet build --no-restore | |
- name: Run tests | |
shell: bash | |
run: | | |
cd Pulsar4X | |
dotnet test --no-restore |