Archived
1
Fork 0

Enable macOS and Windows CI builds

These will most likely break
This commit is contained in:
Joshua Goins 2022-03-07 09:11:09 -05:00
parent 3229c4fa2c
commit 04f0138b95

View file

@ -1,25 +1,37 @@
name: CI name: CI
on: [push] on: [push]
jobs: jobs:
linux: job:
runs-on: ubuntu-latest name: ${{ matrix.os }}-${{ github.workflow }}
env: runs-on: ${{ matrix.os }}
CC: gcc-9 strategy:
CXX: g++-9 fail-fast: false
steps: matrix:
- uses: actions/checkout@v2 os: [ ubuntu-latest, macos-latest, windows-latest ]
- name: Download LunarG key include:
run: wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add - - os: windows-latest
- name: Add LunarG Vulkan repository triplet: x64-windows
run: sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-bionic.list https://packages.lunarg.com/vulkan/lunarg-vulkan-bionic.list - os: ubuntu-latest
- name: Update package list triplet: x64-linux
run: sudo apt update - os: macos-latest
- name: Install Vulkan SDK triplet: x64-osx
run: sudo apt install -f vulkan-sdk libsdl2-dev steps:
- name: Configure - uses: actions/checkout@v2
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release - name: Download LunarG key
- name: Build run: wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
run: cmake --build build --target all -v - name: Add LunarG Vulkan repository
if: matrix.os == 'ubuntu-latest'
run: sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-bionic.list https://packages.lunarg.com/vulkan/lunarg-vulkan-bionic.list
- name: Update package list
if: matrix.os == 'ubuntu-latest'
run: sudo apt update
- name: Install Vulkan SDK
if: matrix.os == 'ubuntu-latest'
run: sudo apt install -f vulkan-sdk libsdl2-dev
- name: Configure
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --target all -v
windows: windows:
runs-on: windows-latest runs-on: windows-latest