Remove MSVC build instructions from github workflows

MSVC isn't a supported target for subsurface - the Windows build is
cross-compiled, not native.  And MSVC is actively user-hostile, with
insane errors and warnings.

In particular, MSVC doesn't like "strdup()", and suggests you use the
nonstandard _strdup() instead.  Which is all kinds of wrong, and seems
to be a "let's use strict POSIX namespace rules as an excuse to make
people write less portable code".

There is probably some flag to make the MSVC compiler happy with sane
code, but it's easier to just disable the insanity entirely.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Linus Torvalds 2021-08-20 18:20:18 -07:00
parent a282ae0b29
commit 6e40a457f3

View File

@ -122,33 +122,3 @@ jobs:
with:
name: ${{ github.job }}-${{ matrix.arch }}
path: ${{ github.job }}-${{ matrix.arch }}.tar.gz
msvc:
name: Visual Studio
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
platform: [x86, x64]
env:
CONFIGURATION: Release
steps:
- uses: actions/checkout@v2
- uses: msys2/setup-msys2@v2
with:
install: autoconf automake libtool pkg-config make gcc
- run: |
autoreconf --install --force
./configure --prefix=/usr
shell: msys2 {0}
- uses: microsoft/setup-msbuild@v1.0.2
- run: msbuild -m -p:Platform=${{ matrix.platform }} -p:Configuration=${{ env.CONFIGURATION }} msvc/libdivecomputer.vcxproj
- uses: actions/upload-artifact@v2
with:
name: ${{ github.job }}-${{ matrix.platform }}
path: msvc/${{ matrix.platform }}/${{ env.CONFIGURATION }}/bin