Skip to content

Fix size bugs, optimise iter #158

Fix size bugs, optimise iter

Fix size bugs, optimise iter #158

Workflow file for this run

name: jGL build tests
on:
push:
branches-ignore:
- 'main'
- 'docs'
paths-ignore:
- 'doc/**'
- '.github/**'
workflow_dispatch:
jobs:
linuxXlinux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential xorg-dev mesa-common-dev libx11-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev libfreetype6-dev libopenal-dev libsndfile1-dev libudev-dev libxinerama-dev libxcursor-dev xvfb x11-apps vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools
- name: linux-linux
run: |
./build.sh -t -r -e
cp -r build/Examples linux-x86_64-examples
cp LICENSE linux-x86_64-examples/
- name: build examples artifact
uses: actions/upload-artifact@v4
with:
name: linux-x86_64-examples
path: linux-x86_64-examples
linuxXwindows:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y xorg-dev build-essential mesa-common-dev libx11-dev libxrandr-dev libgl1-mesa-dev libglu1-mesa-dev libfreetype6-dev libopenal-dev libsndfile1-dev libudev-dev g++-mingw-w64-x86-64-posix gcc-mingw-w64-x86-64-posix libxinerama-dev libxcursor-dev vulkan-tools libvulkan-dev vulkan-validationlayers-dev spirv-tools
- name: linux-X-windows
run: |
./build.sh -t -w -r -e
cp -r build/Examples windows-examples
cp LICENSE windows-examples/
- name: build examples artifact
uses: actions/upload-artifact@v4
with:
name: windows-examples
path: windows-examples
macOS:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Install dependencies
run: |
wget https://sdk.lunarg.com/sdk/download/latest/mac/vulkan-sdk.dmg
hdiutil attach vulkan-sdk.dmg -mountpoint /Volumes/vulkan-sdk
mkdir ~/vulkan
cd /Volumes/vulkan-sdk/
sudo ./InstallVulkan.app/Contents/macOS/InstallVulkan --root ~/vulkan --accept-licenses --default-answer --confirm-command install
ls ~/vulkan
cd ~/vulkan/
python install_vulkan.py
- name: macos-macos
run: |
./build.sh -o -e -r
cp -r build/Examples macos-examples
cp LICENSE macos-examples/
- name: build examples artifact
uses: actions/upload-artifact@v4
with:
name: macos-examples
path: macos-examples