-
-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Native/Vulkan Loader: Build for linux-arm64, osx-arm64, and win-x86.
Also clean up the build script.
- Loading branch information
Showing
3 changed files
with
92 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,17 +17,37 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
env: | ||
- os: ubuntu-latest | ||
- os: ubuntu-22.04 | ||
name: Linux | ||
nuke_invoke: ./build.sh | ||
extras: | | ||
sudo apt-get update | ||
sudo apt-get install -y build-essential libx11-xcb-dev libxkbcommon-dev libwayland-dev libxrandr-dev | ||
- os: windows-latest | ||
sudo tee /etc/apt/sources.list << EOF | ||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy main multiverse restricted universe | ||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe | ||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-security main multiverse restricted universe | ||
deb [arch=amd64] http://archive.ubuntu.com/ubuntu jammy-updates main multiverse restricted universe | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com jammy main multiverse restricted universe | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com jammy-backports main multiverse restricted universe | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com jammy-security main multiverse restricted universe | ||
deb [arch=arm64,armhf] http://ports.ubuntu.com jammy-updates main multiverse restricted universe | ||
deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy main multiverse restricted universe | ||
deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-backports main multiverse restricted universe | ||
deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-security main multiverse restricted universe | ||
deb [arch=amd64] http://security.ubuntu.com/ubuntu jammy-updates main multiverse restricted universe | ||
EOF | ||
sudo dpkg --add-architecture arm64 | ||
sudo dpkg --add-architecture armhf | ||
sudo apt update | ||
sudo apt install -y gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf | ||
for arch in amd64 arm64 armhf; do | ||
sudo apt install -y pkg-config:$arch | ||
sudo apt install -y libx11-xcb-dev:$arch libxkbcommon-dev:$arch libwayland-dev:$arch libxrandr-dev:$arch | ||
done | ||
- os: windows-2022 | ||
name: Windows | ||
nuke_invoke: ./build.cmd | ||
extras: "" | ||
- os: macos-latest | ||
- os: macos-14 | ||
name: Darwin | ||
nuke_invoke: ./build.sh | ||
extras: "" | ||
|
@@ -41,7 +61,7 @@ jobs: | |
run: | | ||
git -c submodule.third_party/git-hooks.update=none submodule update --init --recursive --depth 0 build/submodules/Vulkan-Loader | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "The Silk.NET Automaton" | ||
git config --local user.name "The Silk.NET Automaton" | ||
- name: Extra prerequisites | ||
run: | | ||
echo running extras | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters