Skip to content

Export array textures + color table updates #181

Export array textures + color table updates

Export array textures + color table updates #181

Workflow file for this run

name: Tests
# If another commit is made to the same pull request, the previous workflow run is cancelled to save resources.
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
# Only run CI against the main branch or on PRs to the main branch.
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
types: [ ready_for_review, opened, synchronize ]
workflow_dispatch:
jobs:
Build:
if: github.event.pull_request.draft == false # Ignore draft PRs
runs-on: ubuntu-latest
defaults:
run:
working-directory: Meddle/Meddle.Plugin
shell: bash
strategy:
fail-fast: false
matrix:
dotnet-version: [ 8.0.x ] # Can add multiple .NET versions here to test against (For example, testing a new version of .NET before it's released)
dalamud-version: [ "api11_latest", "stg_latest", "latest" ] # Can add multiple Dalamud branches here to test against (For example, testing against Dalamud staging)
env:
DALAMUD_HOME: /tmp/dalamud
IsCI: true
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # We don't need the history for testing builds, so we can save some time by not fetching it
submodules: true # Grab any submodules that may be required
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Download Dalamud Library
# version = ${{ matrix.dalamud-version }}, replacing _ with / to get the correct URL
# wget https://goatcorp.github.io/dalamud-distrib/${{ matrix.dalamud-version }}.zip -O /tmp/dalamud.zip
run: |
version=$(echo ${{ matrix.dalamud-version }} | sed 's/_/\//g')
wget https://goatcorp.github.io/dalamud-distrib/${version}.zip -O /tmp/dalamud.zip
unzip /tmp/dalamud.zip -d /tmp/dalamud
- name: Restore Dependencies
run: dotnet restore
- name: Build plugin in debug mode
run: dotnet build -c Debug --no-restore --nologo -o ./bin/${{ matrix.dalamud-version }}/Debug
- name: Build plugin in release mode
run: dotnet build -c Release --no-restore --nologo -o ./bin/${{ matrix.dalamud-version }}/Release
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Meddle.Plugin-${{ matrix.dalamud-version }}-${{ github.sha }}
path: Meddle/Meddle.Plugin/bin/${{ matrix.dalamud-version }}/Release