16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-09-01 05:49:19 +02:00

Remove appveyor and update readme

This commit is contained in:
2026-08-19 14:50:28 +02:00
parent 6b50a6aa68
commit 66302bd88e
3 changed files with 1 additions and 235 deletions

View File

@@ -6,7 +6,7 @@
[Website](https://eu07.pl/) · [Report an issue](https://github.com/MaSzyna-EU07/maszyna/issues) · [Community Discord](https://discord.gg/eu07) · [MaSzyna on Steam](https://store.steampowered.com/app/1033030/MaSzyna/) · [MaSzyna on Epic Games Store](https://store.epicgames.com/pl/p/maszyna-79052a)
![Discord](https://img.shields.io/discord/1019306167803056158?style=flat-square&logo=discord&label=Discord&labelColor=white) ![AppVeyor Build](https://img.shields.io/appveyor/build/Hirek193/maszyna?style=flat-square) ![Quality gate](https://img.shields.io/sonar/quality_gate/MaSzyna-EU07_maszyna?server=https%3A%2F%2Fsonarcloud.io&style=flat-square
![Discord](https://img.shields.io/discord/1019306167803056158?style=flat-square&logo=discord&label=Discord&labelColor=white) ![Github Actions](https://img.shields.io/github/actions/workflow/status/MaSzyna-EU07/maszyna/build_bin.yml?style=flat-square ) ![Quality gate](https://img.shields.io/sonar/quality_gate/MaSzyna-EU07_maszyna?server=https%3A%2F%2Fsonarcloud.io&style=flat-square
) ![Sonar cloud violations](https://img.shields.io/sonar/violations/MaSzyna-EU07_maszyna?server=https%3A%2F%2Fsonarcloud.io&format=long&style=flat-square
) [![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg?style=flat-square)](LICENSE) [![Last commit](https://img.shields.io/github/last-commit/MaSzyna-EU07/maszyna?style=flat-square&label=Last%20commit)](https://github.com/MaSzyna-EU07/maszyna/commits/master) [![Open issues](https://img.shields.io/github/issues/MaSzyna-EU07/maszyna?style=flat-square&label=Issues)](https://github.com/MaSzyna-EU07/maszyna/issues) [![Pull requests](https://img.shields.io/github/issues-pr/MaSzyna-EU07/maszyna?style=flat-square&label=Pull%20requests)](https://github.com/MaSzyna-EU07/maszyna/pulls) [![GitHub stars](https://img.shields.io/github/stars/MaSzyna-EU07/maszyna?style=flat-square&logo=github&label=Stars)](https://github.com/MaSzyna-EU07/maszyna/stargazers) [![GitHub forks](https://img.shields.io/github/forks/MaSzyna-EU07/maszyna?style=flat-square&logo=github&label=Forks)](https://github.com/MaSzyna-EU07/maszyna/forks) ![C++](https://img.shields.io/badge/C%2B%2B-17-00599C?style=flat-square&logo=cplusplus) ![Windows](https://img.shields.io/badge/platform-Windows-0078D6?style=flat-square&logo=windows) ![Linux](https://img.shields.io/badge/platform-Linux-FCC624?style=flat-square&logo=linux&logoColor=black) ![OpenGL](https://img.shields.io/badge/OpenGL-3.3%2B-5586A4?style=flat-square&logo=opengl)

View File

@@ -1,44 +0,0 @@
version: '{build}'
image: Visual Studio 2022
# Używamy własnych kroków build
build: off
# Zmienna z konfiguracją
environment:
CONFIG: RelWithDebInfo
init:
- cmd: |
echo Build worker: %APPVEYOR_BUILD_WORKER_IMAGE%
ver
install:
- cmd: |
git submodule update --init --recursive
call setup-ci.bat
before_build:
- cmd: |
if not exist build mkdir build
cd build
cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=%CONFIG% -DPython3_ROOT_DIR=C:/Python314-x64
build_script:
- cmd: |
cmake --build . --config %CONFIG% --parallel
cd ..
after_build:
- cmd: |
echo Copying shaders...
if not exist build\bin\%CONFIG%\shaders mkdir build\bin\%CONFIG%\shaders
xcopy /E /Y shaders build\bin\%CONFIG%\shaders\
artifacts:
- path: build\bin\%CONFIG%\*.exe
name: binaries
- path: build\pdb\%CONFIG%\*.pdb
name: symbols
- path: build\bin\%CONFIG%\shaders
name: shaders

View File

@@ -1,190 +0,0 @@
jobs:
- job: validateshaders
pool:
vmImage: 'ubuntu-20.04'
displayName: 'Validate shaders'
steps:
- script: |
sudo apt-get update -y
sudo apt-get install -y glslang-tools
displayName: 'Install dependencies'
- script: |
cd ci_shadervalidator
./build.sh
displayName: 'Build validator'
- script: |
cd ci_shadervalidator
./validateshaders
displayName: 'Validate shaders'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'shaders'
artifactName: shaders
displayName: 'Publish shaders'
- job: ubuntu2004
pool:
vmImage: 'Ubuntu-20.04'
displayName: 'Ubuntu 20.04 x86-64'
steps:
- script: |
sudo apt-get update -y
sudo apt-get install -y libglfw3-dev python3.14-dev libpng-dev libopenal-dev libluajit-5.1-dev libserialport-dev libsndfile1-dev
cd ref
git clone "https://github.com/chriskohlhoff/asio" --depth 1 --branch asio-1-12-2 -q
displayName: 'Install dependencies'
- script: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DUSE_LTO=ON
cmake --build .
displayName: 'Build'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'build/bin'
artifactName: binaries_linux
displayName: 'Publish binaries'
- job: macos11
pool:
vmImage: 'macOS-11'
displayName: 'MacOS 11 x86-64'
steps:
- script: |
sudo xcode-select -s /Applications/Xcode_12.4.app
displayName: 'Setup Xcode'
- script: |
cd /tmp
wget https://s2.milek7.pl/macos_vcpkg_cache_x64.tar.gz
tar -xf macos_vcpkg_cache_x64.tar.gz
mv tmp/vcpkg vcpkg
rmdir tmp
rm macos_vcpkg_cache_x64.tar.gz
displayName: 'Install dependencies'
- script: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_TOOLCHAIN_FILE=/tmp/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-osx -DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DWITH_UART=OFF -DUSE_LTO=ON -DWITH_LUA=OFF
cmake --build .
displayName: 'Build'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'build/bin'
artifactName: binaries_macos
displayName: 'Publish binaries'
- job: macos11_arm64
pool:
vmImage: 'macOS-11'
displayName: 'MacOS 11 ARM64'
steps:
- script: |
sudo xcode-select -s /Applications/Xcode_12.4.app
displayName: 'Setup Xcode'
- script: |
cd /tmp
wget https://s2.milek7.pl/macos_vcpkg_cache_arm64.tar.gz
tar -xf macos_vcpkg_cache_arm64.tar.gz
mv tmp/vcpkg vcpkg
rmdir tmp
rm macos_vcpkg_cache_arm64.tar.gz
displayName: 'Install dependencies'
- script: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_TOOLCHAIN_FILE=/tmp/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=arm64-osx -DWITH_ZMQ=OFF -DWITH_OPENVR=OFF -DWITH_UART=OFF -DUSE_LTO=ON -DWITH_LUA=OFF
cmake --build .
displayName: 'Build'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'build/bin'
artifactName: binaries_macos_arm64
displayName: 'Publish binaries'
- job: windows_x64
pool:
vmImage: 'windows-2019'
displayName: 'Windows VS2019 x86-64'
steps:
- script: |
cd ref
git clone "https://github.com/chriskohlhoff/asio" --depth 1 --branch asio-1-12-2 -q
curl -o crashpad.zip "http://get.backtrace.io/crashpad/builds/release/x86-64/crashpad-2020-07-01-release-x64-558c9614e3819179f30b92541450f5ac643afce5.zip"
unzip crashpad.zip
move crashpad-2020-07-01-release-x64-558c9614e3819179f30b92541450f5ac643afce5 crashpad
displayName: 'Download extra dependencies'
- script: |
mkdir build
cd build
cmake .. -A x64 -DUSE_LTO=ON -DWITH_CRASHPAD=ON
cmake --build . --config RelWithDebInfo
displayName: 'Build'
- script: |
cd build
7z a package.zip .\bin\RelWithDebInfo\*.exe .\pdb\RelWithDebInfo\*.pdb
curl --data-binary @package.zip -H "Expect:" "https://eu07.sp.backtrace.io:6098/post?format=symbols&token=4eeba9395fae661927e23679fc36f2237416ec056ef75399e894d597ad518c6c"
del .\bin\RelWithDebInfo\*.iobj
del .\bin\RelWithDebInfo\*.ipdb
displayName: 'Upload symbols'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'build/bin'
artifactName: binaries_win64
displayName: 'Publish binaries'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'build/package.zip'
artifactName: symbols_win64
displayName: 'Publish symbols'
- job: windows_x64_dbg
pool:
vmImage: 'windows-2019'
displayName: 'Windows VS2019 Debug'
steps:
- script: |
cd ref
git clone "https://github.com/chriskohlhoff/asio" --depth 1 --branch asio-1-12-2 -q
displayName: 'Download extra dependencies'
- script: |
mkdir build
cd build
cmake .. -A x64
cmake --build . --config Debug
displayName: 'Build'
- job: windows_x32
pool:
vmImage: 'windows-2019'
displayName: 'Windows VS2019 x86'
steps:
- script: |
cd ref
git clone "https://github.com/chriskohlhoff/asio" --depth 1 --branch asio-1-12-2 -q
curl -o crashpad.zip "http://get.backtrace.io/crashpad/builds/release/x86/crashpad-2020-07-01-release-x86-558c9614e3819179f30b92541450f5ac643afce5.zip"
unzip crashpad.zip
move crashpad-2020-07-01-release-x86-558c9614e3819179f30b92541450f5ac643afce5 crashpad
displayName: 'Download extra dependencies'
- script: |
mkdir build
cd build
cmake .. -A Win32 -T v141_xp -DUSE_LTO=ON -DWITH_CRASHPAD=ON
cmake --build . --config RelWithDebInfo
displayName: 'Build'
- script: |
cd build
7z a package.zip .\pdb\RelWithDebInfo\*.pdb
curl --data-binary @package.zip -H "Expect:" "https://eu07.sp.backtrace.io:6098/post?format=symbols&token=4eeba9395fae661927e23679fc36f2237416ec056ef75399e894d597ad518c6c"
del .\bin\RelWithDebInfo\*.iobj
del .\bin\RelWithDebInfo\*.ipdb
displayName: 'Upload symbols'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'build/bin'
artifactName: binaries_win32
displayName: 'Publish binaries'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'build/package.zip'
artifactName: symbols_win32
displayName: 'Publish symbols'