aboutsummaryrefslogtreecommitdiff
path: root/libs/usvfs/.github/workflows
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-12 02:40:16 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-04-12 02:40:16 -0500
commitbf7a57fc55493247a624ecfd65e4d73964e7d8d2 (patch)
tree0a4b2d6123672768187a5ab863e63cd3f21bb319 /libs/usvfs/.github/workflows
parente0fb66428a9b78b4c326df8d7e30429a5b271d74 (diff)
Remove vendored usvfs and Windows-only usvfs code paths
The Linux port uses its own in-process FUSE VFS (FuseConnector), so usvfs was dead weight: libs/usvfs/ was never built, usvfsconnector.cpp was explicitly REMOVE_ITEM'd from the source list, and every call site was already guarded by #ifdef _WIN32 with a working Linux branch (the Windows build is also broken on this branch, since FUSE3 is a hard find_package dependency). - Drop libs/usvfs/ and src/src/usvfsconnector.{cpp,h} - Collapse #ifdef _WIN32 / usvfs include branches in organizercore, mainwindow, settings, util, spawn - Remove getUsvfsVersionString() and the "usvfs: ..." log field - Remove vfs32/64DLLName APPPARAMs (nothing reads them) - Relabel About dialog "usvfs:" row to "VFS: FUSE 3"
Diffstat (limited to 'libs/usvfs/.github/workflows')
-rw-r--r--libs/usvfs/.github/workflows/build.yml173
-rw-r--r--libs/usvfs/.github/workflows/linting.yml17
2 files changed, 0 insertions, 190 deletions
diff --git a/libs/usvfs/.github/workflows/build.yml b/libs/usvfs/.github/workflows/build.yml
deleted file mode 100644
index 2acd535..0000000
--- a/libs/usvfs/.github/workflows/build.yml
+++ /dev/null
@@ -1,173 +0,0 @@
-name: Build USVFS
-
-on:
- push:
- branches: [master, dev/cmake]
- tags:
- - "*"
- pull_request:
- types: [opened, synchronize, reopened]
-
-env:
- VCPKG_BINARY_SOURCES: clear;x-azblob,${{ vars.AZ_BLOB_VCPKG_URL }},${{ secrets.AZ_BLOB_SAS }},readwrite
-
-jobs:
- build:
- name: Build USVFS
- strategy:
- matrix:
- arch: [x86, x64]
- config: [Debug, Release]
- runs-on: windows-2022
- steps:
- # set VCPKG Root
- - name: "Set environmental variables"
- shell: bash
- run: |
- echo "VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT" >> $GITHUB_ENV
-
- # checkout USVFS and vcpkg
- - uses: actions/checkout@v4
-
- # configure
- - run: cmake --preset vs2022-windows-${{ matrix.arch }} -B build_${{ matrix.arch }} "-DCMAKE_INSTALL_PREFIX=install/${{ matrix.config }}"
-
- # build
- - run: cmake --build build_${{ matrix.arch }} --config ${{ matrix.config }} --target INSTALL
-
- # package install
- - uses: actions/upload-artifact@master
- with:
- name: usvfs_${{ matrix.config }}_${{ matrix.arch }}
- path: ./install/${{ matrix.config }}
-
- # package test/dlls/etc. for tests
-
- - uses: actions/upload-artifact@master
- with:
- name: usvfs-libs_${{ matrix.config }}_${{ matrix.arch }}
- path: ./lib
- - uses: actions/upload-artifact@master
- with:
- name: usvfs-bins_${{ matrix.config }}_${{ matrix.arch }}
- path: ./bin
- - uses: actions/upload-artifact@master
- with:
- name: usvfs-tests_${{ matrix.config }}_${{ matrix.arch }}
- path: ./test/bin
-
- # merge x86 / x64 artifacts for tests (root bin/lib and test folder)
- merge-artifacts-for-tests:
- runs-on: ubuntu-latest
- name: Merge Test Artifacts
- needs: build
- strategy:
- matrix:
- config: [Debug, Release]
- steps:
- - name: Merge USVFS libs
- uses: actions/upload-artifact/merge@v4
- with:
- name: usvfs-libs_${{ matrix.config }}
- pattern: usvfs-libs_${{ matrix.config }}_*
- - name: Merge USVFS bins
- uses: actions/upload-artifact/merge@v4
- with:
- name: usvfs-bins_${{ matrix.config }}
- pattern: usvfs-bins_${{ matrix.config }}_*
- - name: Merge USVFS tests
- uses: actions/upload-artifact/merge@v4
- with:
- name: usvfs-tests_${{ matrix.config }}
- pattern: usvfs-tests_${{ matrix.config }}_*
-
- # merge x86 / x64 artifacts (install folder)
- merge-artifacts-for-release:
- runs-on: ubuntu-latest
- name: Merge Install Artifacts
- needs: build
- strategy:
- matrix:
- config: [Debug, Release]
- steps:
- - name: Merge USVFS install
- uses: actions/upload-artifact/merge@v4
- with:
- name: usvfs_${{ matrix.config }}
- pattern: usvfs_${{ matrix.config }}_*
-
- test:
- name: Test USVFS
- needs: merge-artifacts-for-tests
- runs-on: windows-2022
- strategy:
- matrix:
- config: [Debug, Release]
- arch: [x86, x64]
- steps:
- - uses: actions/checkout@v4
- - uses: actions/download-artifact@master
- with:
- name: usvfs-libs_${{ matrix.config }}
- path: ./lib
- - uses: actions/download-artifact@master
- with:
- name: usvfs-bins_${{ matrix.config }}
- path: ./bin
- - uses: actions/download-artifact@master
- with:
- name: usvfs-tests_${{ matrix.config }}
- path: ./test/bin
- - run: ./test/bin/shared_test_${{ matrix.arch }}.exe
- if: always()
- - run: ./test/bin/testinject_bin_${{ matrix.arch }}.exe
- if: always()
- - run: ./test/bin/thooklib_test_${{ matrix.arch }}.exe
- if: always()
- - run: ./test/bin/tinjectlib_test_${{ matrix.arch }}.exe
- if: always()
- - run: ./test/bin/tvfs_test_${{ matrix.arch }}.exe
- if: always()
- - run: ./test/bin/usvfs_test_runner_${{ matrix.arch }}.exe
- if: always()
- - run: ./test/bin/usvfs_global_test_runner_${{ matrix.arch }}.exe
- if: always()
- - uses: actions/upload-artifact@v4
- if: always()
- with:
- name: tests-outputs_${{ matrix.config }}_${{ matrix.arch }}
- path: ./test/temp
- if-no-files-found: ignore
- retention-days: 7
- overwrite: true
-
- publish:
- if: github.ref_type == 'tag'
- needs: [merge-artifacts-for-release, test]
- runs-on: windows-2022
- permissions:
- contents: write
- steps:
- # USVFS does not use different names for debug and release so we are going to
- # retrieve both install artifacts and put them under install/ and install/debug/
-
- - name: Download Release Artifact
- uses: actions/download-artifact@master
- with:
- name: usvfs_Release
- path: ./install
-
- - name: Download Debug Artifact
- uses: actions/download-artifact@master
- with:
- name: usvfs_Debug
- path: ./install/debug
-
- - name: Create USVFS Base archive
- run: 7z a usvfs_${{ github.ref_name }}.7z ./install/*
-
- - name: Publish Release
- env:
- GH_TOKEN: ${{ github.token }}
- GH_REPO: ${{ github.repository }}
- run: gh release create --draft=false --notes="Release ${{ github.ref_name }}" "${{ github.ref_name }}" ./usvfs_${{ github.ref_name }}.7z
diff --git a/libs/usvfs/.github/workflows/linting.yml b/libs/usvfs/.github/workflows/linting.yml
deleted file mode 100644
index d5e3f4b..0000000
--- a/libs/usvfs/.github/workflows/linting.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-name: Lint USVFS
-
-on:
- push:
- pull_request:
- types: [opened, synchronize, reopened]
-
-jobs:
- lint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - name: Check format
- uses: ModOrganizer2/check-formatting-action@master
- with:
- check-path: "."
- exclude-regex: "third-party"