Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml8
-rw-r--r--source/vcpkg.json3
2 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c7cf799..73aa3be 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,7 +28,7 @@ jobs:
build_windows:
name: Build OpenStarbound Windows x64
runs-on: windows-latest
- if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.windows == true) }}
+ if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.windows == true) }}
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -103,7 +103,7 @@ jobs:
build_linux:
name: Build OpenStarbound Linux x86_64
- runs-on: ubuntu-22.04
+ runs-on: ubuntu-20.04
if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.linux == true) }}
env:
CC: clang
@@ -171,7 +171,7 @@ jobs:
build-mac-intel:
name: Build OpenStarbound macOS x86_64
runs-on: macos-13
- if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.macOS == true) }}
+ if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.macOS == true) }}
steps:
- uses: actions/checkout@v4
with:
@@ -213,7 +213,7 @@ jobs:
build-mac-arm:
name: Build OpenStarbound macOS arm64
runs-on: macos-14
- if: ${{ (github.event_name != 'workflow_dispatch') || (inputs.macOS == true) }}
+ if: ${{ (github.event_name == 'workflow_dispatch') && (inputs.macOS == true) }}
steps:
- uses: actions/checkout@v4
with:
diff --git a/source/vcpkg.json b/source/vcpkg.json
index f603aab..ffa41e7 100644
--- a/source/vcpkg.json
+++ b/source/vcpkg.json
@@ -2,7 +2,8 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"glew",
- "sdl2",
+ { "name": "sdl2", "default-features": false, "features": ["wayland", "x11", "alsa", "ibus"], "platform": "linux" },
+ { "name": "sdl2", "platform": "windows" },
"libvorbis",
"zlib",
"freetype",